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-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=5bbaba6e29fc0d92ff0201bd7066c021a6dd8727;p=u-boot.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",