mirror of
https://xff.cz/git/u-boot/
synced 2025-09-25 20:41:16 +02:00
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 <baruch@tkos.co.il>
This commit is contained in:
2
fs/fs.c
2
fs/fs.c
@@ -224,7 +224,7 @@ static struct fstype_info fstypes[] = {
|
|||||||
.exists = ext4fs_exists,
|
.exists = ext4fs_exists,
|
||||||
.size = ext4fs_size,
|
.size = ext4fs_size,
|
||||||
.read = ext4_read_file,
|
.read = ext4_read_file,
|
||||||
#ifdef CONFIG_CMD_EXT4_WRITE
|
#ifdef CONFIG_EXT4_WRITE
|
||||||
.write = ext4_write_file,
|
.write = ext4_write_file,
|
||||||
.ln = ext4fs_create_link,
|
.ln = ext4fs_create_link,
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user