summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-10-28 20:27:08 -0400
committerTom Rini <trini@konsulko.com>2022-11-10 10:08:55 -0500
commit15713fc85579b4d0fc4294d8fa0f3a0f334054b0 (patch)
treef08c1cc0d2bdaa7932b6a70cc134712621b00e21 /arch
parent08574ed339fb474e7d984a2e48160615286e4515 (diff)
downloadu-boot-15713fc85579b4d0fc4294d8fa0f3a0f334054b0.tar.gz
u-boot-15713fc85579b4d0fc4294d8fa0f3a0f334054b0.tar.bz2
u-boot-15713fc85579b4d0fc4294d8fa0f3a0f334054b0.zip
mediatek: Include <linux/sizes.h> where needed
These files reference SZ_ macros without including <linux/sizes.h>, correct this. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-mediatek/mt7981/init.c1
-rw-r--r--arch/arm/mach-mediatek/mt7986/init.c1
-rw-r--r--arch/arm/mach-mediatek/mt8512/init.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-mediatek/mt7981/init.c b/arch/arm/mach-mediatek/mt7981/init.c
index 4f77a3defb..a8955064e0 100644
--- a/arch/arm/mach-mediatek/mt7981/init.c
+++ b/arch/arm/mach-mediatek/mt7981/init.c
@@ -8,6 +8,7 @@
#include <asm/armv8/mmu.h>
#include <asm/system.h>
#include <asm/global_data.h>
+#include <linux/sizes.h>
DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/arm/mach-mediatek/mt7986/init.c b/arch/arm/mach-mediatek/mt7986/init.c
index 0fd459657d..cf89e63e80 100644
--- a/arch/arm/mach-mediatek/mt7986/init.c
+++ b/arch/arm/mach-mediatek/mt7986/init.c
@@ -8,6 +8,7 @@
#include <asm/armv8/mmu.h>
#include <asm/system.h>
#include <asm/global_data.h>
+#include <linux/sizes.h>
DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/arm/mach-mediatek/mt8512/init.c b/arch/arm/mach-mediatek/mt8512/init.c
index b7050dfc39..5a21e9a448 100644
--- a/arch/arm/mach-mediatek/mt8512/init.c
+++ b/arch/arm/mach-mediatek/mt8512/init.c
@@ -21,6 +21,7 @@
#include <asm/sections.h>
#include <dm/uclass.h>
#include <dt-bindings/clock/mt8512-clk.h>
+#include <linux/sizes.h>
DECLARE_GLOBAL_DATA_PTR;