diff options
author | Tom Rini <trini@konsulko.com> | 2022-10-28 20:27:08 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-11-10 10:08:55 -0500 |
commit | 15713fc85579b4d0fc4294d8fa0f3a0f334054b0 (patch) | |
tree | f08c1cc0d2bdaa7932b6a70cc134712621b00e21 /arch/arm | |
parent | 08574ed339fb474e7d984a2e48160615286e4515 (diff) | |
download | u-boot-15713fc85579b4d0fc4294d8fa0f3a0f334054b0.zip u-boot-15713fc85579b4d0fc4294d8fa0f3a0f334054b0.tar.gz u-boot-15713fc85579b4d0fc4294d8fa0f3a0f334054b0.tar.bz2 |
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/arm')
-rw-r--r-- | arch/arm/mach-mediatek/mt7981/init.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mediatek/mt7986/init.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mediatek/mt8512/init.c | 1 |
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 4f77a3d..a895506 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 0fd4596..cf89e63 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 b7050df..5a21e9a 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; |