[PATCH 03/81] arm: sunxi: Add missing <linux/types.h>
Tom Rini
trini at konsulko.com
Thu May 2 03:30:20 CEST 2024
These files have many "Linux" style types in them, add <linux/types.h>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
Cc: Jagan Teki <jagan at amarulasolutions.com>
Cc: Andre Przywara <andre.przywara at arm.com>
---
arch/arm/include/asm/arch-sunxi/pmic_bus.h | 2 ++
arch/arm/include/asm/arch-sunxi/tve.h | 2 ++
2 files changed, 4 insertions(+)
diff --git a/arch/arm/include/asm/arch-sunxi/pmic_bus.h b/arch/arm/include/asm/arch-sunxi/pmic_bus.h
index 5ab9b2809f29..e26459fdd3bf 100644
--- a/arch/arm/include/asm/arch-sunxi/pmic_bus.h
+++ b/arch/arm/include/asm/arch-sunxi/pmic_bus.h
@@ -8,6 +8,8 @@
#ifndef _SUNXI_PMIC_BUS_H
#define _SUNXI_PMIC_BUS_H
+#include <linux/types.h>
+
int pmic_bus_init(void);
int pmic_bus_read(u8 reg, u8 *data);
int pmic_bus_write(u8 reg, u8 data);
diff --git a/arch/arm/include/asm/arch-sunxi/tve.h b/arch/arm/include/asm/arch-sunxi/tve.h
index 46cd87e79e8d..4fbb4b91c86b 100644
--- a/arch/arm/include/asm/arch-sunxi/tve.h
+++ b/arch/arm/include/asm/arch-sunxi/tve.h
@@ -9,6 +9,8 @@
#ifndef _TVE_H
#define _TVE_H
+#include <linux/types.h>
+
enum tve_mode {
tve_mode_vga,
tve_mode_composite_pal,
--
2.34.1
More information about the U-Boot
mailing list