* [PATCH] fs: Allow to compile FS_FAT only for proper U-Boot
@ 2022-04-05 13:48 Pali Rohár
2022-04-15 12:08 ` Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Pali Rohár @ 2022-04-05 13:48 UTC (permalink / raw)
To: Simon Glass, Heinrich Schuchardt, Sean Anderson; +Cc: 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>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] fs: Allow to compile FS_FAT only for proper U-Boot
2022-04-05 13:48 [PATCH] fs: Allow to compile FS_FAT only for proper U-Boot Pali Rohár
@ 2022-04-15 12:08 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2022-04-15 12:08 UTC (permalink / raw)
To: Pali Rohár; +Cc: Simon Glass, Heinrich Schuchardt, Sean Anderson, u-boot
[-- Attachment #1: Type: text/plain, Size: 242 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-15 12:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-05 13:48 [PATCH] fs: Allow to compile FS_FAT only for proper U-Boot Pali Rohár
2022-04-15 12:08 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox