[PATCH] fs: Allow to compile FS_FAT only for proper U-Boot
Pali Rohár
pali at kernel.org
Tue Apr 5 15:48:32 CEST 2022
CONFIG_SPL_FS_FAT cannot be disabled when CONFIG_FS_FAT is enabled. Fix it.
Signed-off-by: Pali Rohár <pali at kernel.org>
---
fs/fs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/fs.c b/fs/fs.c
index 023f89cafec2..5c3b1ac09e53 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -175,7 +175,7 @@ struct fstype_info {
};
static struct fstype_info fstypes[] = {
-#ifdef CONFIG_FS_FAT
+#if CONFIG_IS_ENABLED(FS_FAT)
{
.fstype = FS_TYPE_FAT,
.name = "fat",
--
2.20.1
More information about the U-Boot
mailing list