mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
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:
@@ -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>
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user