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-05 15:48:32 +02:00 committed by Tom Rini
parent 2df59b2bd4
commit 5bbaba6e29

View File

@ -177,7 +177,7 @@ struct fstype_info {
}; };
static struct fstype_info fstypes[] = { static struct fstype_info fstypes[] = {
#ifdef CONFIG_FS_FAT #if CONFIG_IS_ENABLED(FS_FAT)
{ {
.fstype = FS_TYPE_FAT, .fstype = FS_TYPE_FAT,
.name = "fat", .name = "fat",