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

Commit 87c1efbf authored by Jens Axboe's avatar Jens Axboe
Browse files

Fix compile/link of init/do_mounts.c with !CONFIG_BLOCK



We need a stub function for when CONFIG_BLOCK isn't set.

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent d89d8796
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -434,6 +434,10 @@ static inline struct block_device *bdget_disk(struct gendisk *disk, int index)

#endif

#endif
#else /* CONFIG_BLOCK */

static inline void printk_all_partitions(void) { }

#endif /* CONFIG_BLOCK */

#endif