Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e99d11d1 authored by Paul Mundt's avatar Paul Mundt Committed by Linus Torvalds
Browse files

fs: logfs: Fix up MTD=y build.



Commit 7d945a3a ("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: default avatarPaul Mundt <lethal@linux-sh.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c8ddb271
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -486,7 +486,7 @@ static inline int logfs_get_sb_bdev(struct logfs_super *s,


/* dev_mtd.c */
/* dev_mtd.c */
#ifdef CONFIG_MTD
#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
#else
static inline int logfs_get_sb_mtd(struct logfs_super *s, int mtdnr)
static inline int logfs_get_sb_mtd(struct logfs_super *s, int mtdnr)
{
{