Skip to contentSkip to conversation

fs: logfs: Fix up MTD=y build.

PATCH New Paul Mundt 1 participant 1 message Nov 1, 2010

lore
Share & tools
lore

Paul Mundt

author
#0 lore raw

PATCH 1/1 fs: logfs: Fix up MTD=y build.

Commit 7d945a3aa7608f68dba04083d3421e0b43052660 ("logfs get_sb, part 3") broke the logfs build when CONFIG_MTD is set due to a mangled logfs_get_sb_mtd() definition.

---

 fs/logfs/logfs.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/logfs/logfs.h +1 -1
index cd51a36..57afd4a 100644
@@ -486,7 +486,7 @@ static inline int logfs_get_sb_bdev(struct logfs_super *s,
 
 /* dev_mtd.c */
 #ifdef CONFIG_MTD
-int logfs_get_sb_mtd(struct logfs_super *s, int mtdnr)
+int logfs_get_sb_mtd(struct logfs_super *s, int mtdnr);
 #else
 static inline int logfs_get_sb_mtd(struct logfs_super *s, int mtdnr)
 {