mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
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: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
parent
d89d87965d
commit
87c1efbfea
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue