]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
fs: Allow to compile FS_SQUASHFS only for proper U-Boot
authorPali Rohár <pali@kernel.org>
Wed, 6 Apr 2022 21:34:00 +0000 (23:34 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 21 Apr 2022 13:08:57 +0000 (09:08 -0400)
CONFIG_SPL_FS_SQUASHFS cannot be disabled when CONFIG_FS_SQUASHFS is
enabled. Fix it.

Signed-off-by: Pali Rohár <pali@kernel.org>
fs/fs.c

diff --git a/fs/fs.c b/fs/fs.c
index 97d47916f38fd7ad5c36cb568319539894edd2c3..b812597ced9483ba32d6270168f268776b2bcd6b 100644 (file)
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -309,7 +309,7 @@ static struct fstype_info fstypes[] = {
        },
 #endif
 #endif
-#if IS_ENABLED(CONFIG_FS_SQUASHFS)
+#if CONFIG_IS_ENABLED(FS_SQUASHFS)
        {
                .fstype = FS_TYPE_SQUASHFS,
                .name = "squashfs",