From: "Pali Rohár" <pali@kernel.org>
To: Simon Glass <sjg@chromium.org>,
Heinrich Schuchardt <xypron.glpk@gmx.de>,
Sean Anderson <sean.anderson@seco.com>
Cc: u-boot@lists.denx.de
Subject: [PATCH] fs: Allow to compile FS_FAT only for proper U-Boot
Date: Tue, 5 Apr 2022 15:48:32 +0200 [thread overview]
Message-ID: <20220405134832.1539-1-pali@kernel.org> (raw)
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
next reply other threads:[~2022-04-05 13:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-05 13:48 Pali Rohár [this message]
2022-04-15 12:08 ` [PATCH] fs: Allow to compile FS_FAT only for proper U-Boot Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220405134832.1539-1-pali@kernel.org \
--to=pali@kernel.org \
--cc=sean.anderson@seco.com \
--cc=sjg@chromium.org \
--cc=u-boot@lists.denx.de \
--cc=xypron.glpk@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.