]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
fs: relax ext4_write_file() dependency
authorBaruch Siach <baruch@tkos.co.il>
Wed, 15 May 2024 04:37:16 +0000 (07:37 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 7 Jun 2024 22:20:27 +0000 (16:20 -0600)
ext4_write_file() depends on CONFIG_EXT4_WRITE. Allow build without
CONFIG_CMD_EXT4_WRITE.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
fs/fs.c

diff --git a/fs/fs.c b/fs/fs.c
index bed1f7242f417fa6c8c6d7613d847f7fed00c66e..0c47943f3339683d91193926038e7b05289618fb 100644 (file)
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -224,7 +224,7 @@ static struct fstype_info fstypes[] = {
                .exists = ext4fs_exists,
                .size = ext4fs_size,
                .read = ext4_read_file,
-#ifdef CONFIG_CMD_EXT4_WRITE
+#ifdef CONFIG_EXT4_WRITE
                .write = ext4_write_file,
                .ln = ext4fs_create_link,
 #else