From 15713fc85579b4d0fc4294d8fa0f3a0f334054b0 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Fri, 28 Oct 2022 20:27:08 -0400 Subject: [PATCH] mediatek: Include where needed These files reference SZ_ macros without including , correct this. Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- arch/arm/mach-mediatek/mt7981/init.c | 1 + arch/arm/mach-mediatek/mt7986/init.c | 1 + arch/arm/mach-mediatek/mt8512/init.c | 1 + drivers/spi/mtk_spim.c | 1 + 4 files changed, 4 insertions(+) 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 #include #include +#include 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 #include #include +#include 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 #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/spi/mtk_spim.c b/drivers/spi/mtk_spim.c index b45ef529a5..a7c0fc593f 100644 --- a/drivers/spi/mtk_spim.c +++ b/drivers/spi/mtk_spim.c @@ -22,6 +22,7 @@ #include #include #include +#include #define SPI_CFG0_REG 0x0000 #define SPI_CFG1_REG 0x0004 -- 2.39.5