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>
This commit is contained in:
Pali Rohár 2022-04-06 23:34:00 +02:00 committed by Tom Rini
parent e4dc2d0620
commit f362deaefb

View File

@ -309,7 +309,7 @@ static struct fstype_info fstypes[] = {
}, },
#endif #endif
#endif #endif
#if IS_ENABLED(CONFIG_FS_SQUASHFS) #if CONFIG_IS_ENABLED(FS_SQUASHFS)
{ {
.fstype = FS_TYPE_SQUASHFS, .fstype = FS_TYPE_SQUASHFS,
.name = "squashfs", .name = "squashfs",