From: Pali Rohár Date: Tue, 5 Apr 2022 13:48:32 +0000 (+0200) Subject: fs: Allow to compile FS_FAT only for proper U-Boot X-Git-Tag: baikal/mips/sdk5.9~3^2~102^2~1 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=34bf373588083868a02365472d6f82cd3d3a7120;p=uboot.git 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 --- diff --git a/fs/fs.c b/fs/fs.c index c3a2ed9754..2b0a242e8c 100644 --- a/fs/fs.c +++ b/fs/fs.c @@ -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",