aboutsummaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-05-01 19:30:19 -0600
committerTom Rini <trini@konsulko.com>2024-05-07 08:00:40 -0600
commit5f5d57869a7ad9d0d7d75f6c067c11de0f1ecac4 (patch)
treedcc70bd18fc5caeb26031bcb8968df7417ba1af1 /arch/arm
parent2143a11e61492cee2f4f5bd4f4203c652c394d0b (diff)
downloadu-boot-5f5d57869a7ad9d0d7d75f6c067c11de0f1ecac4.zip
u-boot-5f5d57869a7ad9d0d7d75f6c067c11de0f1ecac4.tar.gz
u-boot-5f5d57869a7ad9d0d7d75f6c067c11de0f1ecac4.tar.bz2
arm: aspeed: Add missing <linux/types.h>
The scu* files have many "Linux" style types in them, add <linux/types.h> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/include/asm/arch-aspeed/scu_ast2500.h1
-rw-r--r--arch/arm/include/asm/arch-aspeed/scu_ast2600.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-aspeed/scu_ast2500.h b/arch/arm/include/asm/arch-aspeed/scu_ast2500.h
index 50d6a6b..a415693 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 251bfa2..a2c8852 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 */