summaryrefslogtreecommitdiffstats
path: root/fs/romfs/storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/romfs/storage.c')
-rw-r--r--fs/romfs/storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/romfs/storage.c b/fs/romfs/storage.c
index 71e2b4d50a0a..f86f51f99ace 100644
--- a/fs/romfs/storage.c
+++ b/fs/romfs/storage.c
@@ -19,7 +19,7 @@
#endif
#ifdef CONFIG_ROMFS_ON_MTD
-#define ROMFS_MTD_READ(sb, ...) ((sb)->s_mtd->read((sb)->s_mtd, ##__VA_ARGS__))
+#define ROMFS_MTD_READ(sb, ...) mtd_read((sb)->s_mtd, ##__VA_ARGS__)
/*
* read data from an romfs image on an MTD device