From: Paul Mundt Date: Mon, 1 Nov 2010 20:29:21 +0000 (+0900) Subject: fs: logfs: Fix up MTD=y build. X-Git-Tag: firefly_0821_release~7613^2~3522 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e99d11d19977c74b18411cdb59cdebb788237a6e;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Linus Torvalds --- 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) {