[PATCH] fs: Allow to compile FS_SQUASHFS only for proper U-Boot

Pali Rohár pali at kernel.org
Wed Apr 6 23:34:00 CEST 2022


CONFIG_SPL_FS_SQUASHFS cannot be disabled when CONFIG_FS_SQUASHFS 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 7bf8c440886a..b4306cf8499e 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -286,7 +286,7 @@ static struct fstype_info fstypes[] = {
 		.ln = fs_ln_unsupported,
 	},
 #endif
-#if IS_ENABLED(CONFIG_FS_SQUASHFS)
+#if CONFIG_IS_ENABLED(FS_SQUASHFS)
 	{
 		.fstype = FS_TYPE_SQUASHFS,
 		.name = "squashfs",
-- 
2.20.1



More information about the U-Boot mailing list