]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mediatek: Include <linux/sizes.h> where needed
authorTom Rini <trini@konsulko.com>
Sat, 29 Oct 2022 00:27:08 +0000 (20:27 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 10 Nov 2022 15:08:55 +0000 (10:08 -0500)
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>
arch/arm/mach-mediatek/mt7981/init.c
arch/arm/mach-mediatek/mt7986/init.c
arch/arm/mach-mediatek/mt8512/init.c
drivers/spi/mtk_spim.c

index 4f77a3defb026843a468258faac8f1a9b010f262..a8955064e03150af0dc8381fb03caeed67d03bdb 100644 (file)
@@ -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;
 
index 0fd459657d9902dde00cabfc50497eb2082102f7..cf89e63e80ad0c55763e3c6ec2b1ccd4d27a32d8 100644 (file)
@@ -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;
 
index b7050dfc392283d10e2e86e3100d14c9ee970744..5a21e9a4485c799cdd49aca1cb104071236bd32d 100644 (file)
@@ -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;
 
index b45ef529a50566cf3138ce9b8103881dc1281052..a7c0fc593fb17f0cf9ef7ce39808edf0dd76fe5e 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/dma-mapping.h>
 #include <linux/io.h>
 #include <linux/iopoll.h>
+#include <linux/sizes.h>
 
 #define SPI_CFG0_REG                           0x0000
 #define SPI_CFG1_REG                           0x0004