summaryrefslogtreecommitdiffstats
path: root/fs/logfs/logfs.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-11-01 21:29:21 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2010-11-01 21:34:56 +0100
commite99d11d19977c74b18411cdb59cdebb788237a6e (patch)
tree6e38134e1d07e7d81236fa4bfb3747d835e14ce1 /fs/logfs/logfs.h
parentLinux 2.6.37-rc1 (diff)
downloadlinux-e99d11d19977c74b18411cdb59cdebb788237a6e.tar.xz
linux-e99d11d19977c74b18411cdb59cdebb788237a6e.zip
fs: logfs: Fix up MTD=y build.
Commit 7d945a3aa760 ("logfs get_sb, part 3") broke the logfs build when CONFIG_MTD is set due to a mangled logfs_get_sb_mtd() definition. Signed-off-by: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/logfs/logfs.h')
-rw-r--r--fs/logfs/logfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/logfs/logfs.h b/fs/logfs/logfs.h
index cd51a36b37f0..57afd4a6fabb 100644
--- a/fs/logfs/logfs.h
+++ b/fs/logfs/logfs.h
@@ -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)
{