From: Baruch Siach Date: Wed, 15 May 2024 04:37:16 +0000 (+0300) Subject: fs: relax ext4_write_file() dependency X-Git-Url: http://git.dujemihanovic.xyz/%22/img/sics.gif/%22/static/git-favicon.png?a=commitdiff_plain;h=6068abe33fff28ba50a0f68eabc5d9eb31b7045d;p=u-boot.git fs: relax ext4_write_file() dependency ext4_write_file() depends on CONFIG_EXT4_WRITE. Allow build without CONFIG_CMD_EXT4_WRITE. Signed-off-by: Baruch Siach --- diff --git a/fs/fs.c b/fs/fs.c index bed1f7242f..0c47943f33 100644 --- 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