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

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
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment