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

5 Apr
2022
5 Apr
'22
3:48 p.m.
CONFIG_SPL_FS_FAT cannot be disabled when CONFIG_FS_FAT is enabled. Fix it.
Signed-off-by: Pali Rohár pali@kernel.org --- fs/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/fs.c b/fs/fs.c index 023f89cafec2..5c3b1ac09e53 100644 --- a/fs/fs.c +++ b/fs/fs.c @@ -175,7 +175,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",
--
2.20.1

15 Apr
15 Apr
2:08 p.m.
On Tue, Apr 05, 2022 at 03:48:32PM +0200, Pali Rohár wrote:
CONFIG_SPL_FS_FAT cannot be disabled when CONFIG_FS_FAT is enabled. Fix it.
Signed-off-by: Pali Rohár pali@kernel.org
Applied to u-boot/master, thanks!
--
Tom
1121
Age (days ago)
1131
Last active (days ago)
1 comments
2 participants
participants (2)
-
Pali Rohár
-
Tom Rini