]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
include/fat.h: Audit include list
authorTom Rini <trini@konsulko.com>
Wed, 21 May 2025 22:51:18 +0000 (16:51 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 2 Jun 2025 23:26:15 +0000 (17:26 -0600)
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@konsulko.com>
common/spl/spl_fat.c
include/fat.h

index f426a068ff96818673d84e15f158fd8dd55a3921..8b7cafa7291e4de36397bede75ea91f0d23274fd 100644 (file)
@@ -16,6 +16,7 @@
 #include <errno.h>
 #include <image.h>
 #include <linux/libfdt.h>
+#include <asm/cache.h>
 
 static int fat_registered;
 
index ca97880de12d0524257c09d8756f759d99777e0e..bdf430f70675a7b070a522dccd4426faa7cf9cfc 100644 (file)
@@ -11,7 +11,6 @@
 
 #include <fs.h>
 #include <asm/byteorder.h>
-#include <asm/cache.h>
 
 struct disk_partition;