[PATCH 02/81] arm: aspeed: Add missing <linux/types.h>

Tom Rini trini at konsulko.com
Thu May 2 03:30:19 CEST 2024


The scu* files have many "Linux" style types in them, add
<linux/types.h>

Signed-off-by: Tom Rini <trini at konsulko.com>
---
Cc: Ryan Chen <ryan_chen at aspeedtech.com>
Cc: Chia-Wei Wang <chiawei_wang at aspeedtech.com>
Cc: Aspeed BMC SW team <BMC-SW at aspeedtech.com>
Cc: Joel Stanley <joel at jms.id.au>
---
 arch/arm/include/asm/arch-aspeed/scu_ast2500.h | 1 +
 arch/arm/include/asm/arch-aspeed/scu_ast2600.h | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/arch/arm/include/asm/arch-aspeed/scu_ast2500.h b/arch/arm/include/asm/arch-aspeed/scu_ast2500.h
index 50d6a6bc7605..a415693de6ea 100644
--- a/arch/arm/include/asm/arch-aspeed/scu_ast2500.h
+++ b/arch/arm/include/asm/arch-aspeed/scu_ast2500.h
@@ -140,6 +140,7 @@
 #define SCU_CLKDUTY_RGMII2TXCK_MASK	(0x7f << SCU_CLKDUTY_RGMII2TXCK_SHIFT)
 
 #ifndef __ASSEMBLY__
+#include <linux/types.h>
 
 struct ast2500_clk_priv {
 	struct ast2500_scu *scu;
diff --git a/arch/arm/include/asm/arch-aspeed/scu_ast2600.h b/arch/arm/include/asm/arch-aspeed/scu_ast2600.h
index 251bfa269bf4..a2c8852db842 100644
--- a/arch/arm/include/asm/arch-aspeed/scu_ast2600.h
+++ b/arch/arm/include/asm/arch-aspeed/scu_ast2600.h
@@ -125,6 +125,8 @@
 #define SCU_MISC_CTRL1_UART5_DIV		BIT(12)
 
 #ifndef __ASSEMBLY__
+#include <linux/types.h>
+
 struct ast2600_scu {
 	uint32_t prot_key1;		/* 0x000 */
 	uint32_t chip_id1;		/* 0x004 */
-- 
2.34.1



More information about the U-Boot mailing list