mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 18:04:48 +00: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:
parent
2b6c4b66e5
commit
6068abe33f
1 changed files with 1 additions and 1 deletions
2
fs/fs.c
2
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
|
||||
|
|
Loading…
Add table
Reference in a new issue