* [PATCH] fs: logfs: Fix up MTD=y build.
@ 2010-11-01 20:29 Paul Mundt
0 siblings, 0 replies; only message in thread
From: Paul Mundt @ 2010-11-01 20:29 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Al Viro, linux-kernel
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.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
---
fs/logfs/logfs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/logfs/logfs.h b/fs/logfs/logfs.h
index cd51a36..57afd4a 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)
{
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-11-01 20:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-01 20:29 [PATCH] fs: logfs: Fix up MTD=y build Paul Mundt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.