include/spl_gpio.h: Audit include list

This file does not need <asm/gpio.h> so remove it. This file does
however need <linux/types.h> so add that in. This also shows that
arch/arm/mach-rockchip/rk3399/rk3399.c and board/lg/star/star.c were
indirectly getting <asm/gpio.h> from here, so add <asm/gpio.h> to them.

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini
2025-06-28 16:43:51 -06:00
parent 7788df3e92
commit a591af1123
3 changed files with 3 additions and 1 deletions

View File

@@ -16,6 +16,7 @@
#include <asm/arch-rockchip/gpio.h>
#include <asm/arch-rockchip/grf_rk3399.h>
#include <asm/arch-rockchip/hardware.h>
#include <asm/gpio.h>
#include <linux/bitops.h>
#include <linux/printk.h>
#include <power/regulator.h>

View File

@@ -9,6 +9,7 @@
#include <fdt_support.h>
#include <log.h>
#include <spl_gpio.h>
#include <asm/gpio.h>
static int star_fix_panel(void *fdt)
{

View File

@@ -9,7 +9,7 @@
#ifndef __SPL_GPIO_H
#define __SPL_GPIO_H
#include <asm/gpio.h>
#include <linux/types.h>
/*
* The functions listed here should be implemented in the SoC GPIO driver.