fs: Allow to compile FS_FAT only for proper U-Boot

CONFIG_SPL_FS_FAT cannot be disabled when CONFIG_FS_FAT is enabled. Fix it.

Signed-off-by: Pali Rohár <pali@kernel.org>
This commit is contained in:
Pali Rohár
2022-04-14 15:39:15 -04:00
committed by Tom Rini
parent 2df59b2bd4
commit 5bbaba6e29
+1 -1
View File
@@ -177,7 +177,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",