[PATCH 13/17] include/fat.h: Audit include list
Tom Rini
trini at konsulko.com
Thu May 22 00:51:18 CEST 2025
This file does not need <asm/cache.h> so remove it. However the file
common/spl/spl_fat.c does need it, so add it there.
Signed-off-by: Tom Rini <trini at konsulko.com>
---
common/spl/spl_fat.c | 1 +
include/fat.h | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/spl/spl_fat.c b/common/spl/spl_fat.c
index f426a068ff96..8b7cafa7291e 100644
--- a/common/spl/spl_fat.c
+++ b/common/spl/spl_fat.c
@@ -16,6 +16,7 @@
#include <errno.h>
#include <image.h>
#include <linux/libfdt.h>
+#include <asm/cache.h>
static int fat_registered;
diff --git a/include/fat.h b/include/fat.h
index ca97880de12d..bdf430f70675 100644
--- a/include/fat.h
+++ b/include/fat.h
@@ -11,7 +11,6 @@
#include <fs.h>
#include <asm/byteorder.h>
-#include <asm/cache.h>
struct disk_partition;
--
2.43.0
More information about the U-Boot
mailing list