mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
fs: logfs: Fix up MTD=y build.
Commit 7d945a3aa7
("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>
This commit is contained in:
parent
c8ddb2713c
commit
e99d11d199
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue