summaryrefslogtreecommitdiff
path: root/fs/fs.c
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2022-04-06 23:34:00 +0200
committerTom Rini <trini@konsulko.com>2022-04-21 09:08:57 -0400
commitf362deaefbb410a66248b6061e71323913e0ca62 (patch)
tree47bd703de33f812d7075d7a3b7cd0d0484d3426c /fs/fs.c
parente4dc2d0620851d6e0e784d4ef0a50f26e1e73857 (diff)
downloadu-boot-f362deaefbb410a66248b6061e71323913e0ca62.tar.gz
u-boot-f362deaefbb410a66248b6061e71323913e0ca62.tar.bz2
u-boot-f362deaefbb410a66248b6061e71323913e0ca62.zip
fs: Allow to compile FS_SQUASHFS only for proper U-Boot
CONFIG_SPL_FS_SQUASHFS cannot be disabled when CONFIG_FS_SQUASHFS is enabled. Fix it. Signed-off-by: Pali Rohár <pali@kernel.org>
Diffstat (limited to 'fs/fs.c')
-rw-r--r--fs/fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fs.c b/fs/fs.c
index 97d47916f3..b812597ced 100644
--- 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",