include/mmc.h: Audit include list
authorTom Rini <trini@konsulko.com>
Wed, 21 May 2025 22:51:20 +0000 (16:51 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 2 Jun 2025 23:26:16 +0000 (17:26 -0600)
This file does not need <linux/sizes.h> nor <linux/compiler.h> so remove
them. This exposes however that a number of other files had been relying
on this implicit include for <linux/sizes.h> so add that where needed.

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/powerpc/cpu/mpc85xx/fdt.c
board/emulation/common/qemu_dfu.c
board/toradex/verdin-am62/verdin-am62.c
drivers/mmc/mmc.c
drivers/mmc/snps_sdhci.c
include/mmc.h

index b2c0c51..143b7c6 100644 (file)
@@ -13,6 +13,7 @@
 #include <time.h>
 #include <asm/global_data.h>
 #include <linux/libfdt.h>
+#include <linux/sizes.h>
 #include <fdt_support.h>
 #include <asm/processor.h>
 #include <linux/ctype.h>
index 393fcae..8a59f5a 100644 (file)
@@ -7,6 +7,7 @@
 #include <env.h>
 #include <memalign.h>
 #include <mtd.h>
+#include <linux/sizes.h>
 
 #define DFU_ALT_BUF_LEN                SZ_1K
 
index 7b2eecb..eca2cc8 100644 (file)
@@ -15,6 +15,7 @@
 #include <init.h>
 #include <k3-ddrss.h>
 #include <spl.h>
+#include <linux/sizes.h>
 #include <asm/arch/k3-ddr.h>
 
 #include "../common/tdx-cfg-block.h"
index cdcf2e0..9421a84 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/bitops.h>
 #include <linux/delay.h>
 #include <linux/printk.h>
+#include <linux/sizes.h>
 #include <power/regulator.h>
 #include <malloc.h>
 #include <memalign.h>
index f5ede38..fe834ec 100644 (file)
@@ -6,6 +6,7 @@
 #include <clk.h>
 #include <dm.h>
 #include <linux/bitfield.h>
+#include <linux/sizes.h>
 #include <sdhci.h>
 
 /* DWCMSHC specific Mode Select value */
index eead666..87f7ef1 100644 (file)
@@ -11,8 +11,6 @@
 
 #include <linux/bitops.h>
 #include <linux/list.h>
-#include <linux/sizes.h>
-#include <linux/compiler.h>
 #include <linux/dma-direction.h>
 #include <cyclic.h>
 #include <part.h>