projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f026545
)
romfs: switch to new MTD API
author
Artem Bityutskiy
<artem.bityutskiy@linux.intel.com>
Mon, 30 Jan 2012 13:11:44 +0000
(15:11 +0200)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Mon, 26 Mar 2012 23:19:30 +0000
(
00:19
+0100)
We have changed the MTD API and now ROMFS should use 'mtd_read()' instead
of mtd->read().
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
fs/romfs/storage.c
patch
|
blob
|
history
diff --git
a/fs/romfs/storage.c
b/fs/romfs/storage.c
index 71e2b4d50a0ab5104087237c350c20057dc3e38f..f86f51f99acebb05df6b2c404b7186e2b6d1194c 100644
(file)
--- 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