aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/genhd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/genhd.h b/include/linux/genhd.h
index ff293ec8b3f7..9cb8380cf0eb 100644
--- a/include/linux/genhd.h
+++ b/include/linux/genhd.h
@@ -591,6 +591,9 @@ extern void blk_register_region(dev_t devt, unsigned long range,
591 void *data); 591 void *data);
592extern void blk_unregister_region(dev_t devt, unsigned long range); 592extern void blk_unregister_region(dev_t devt, unsigned long range);
593 593
594extern ssize_t part_size_show(struct device *dev,
595 struct device_attribute *attr, char *buf);
596
594#else /* CONFIG_BLOCK */ 597#else /* CONFIG_BLOCK */
595 598
596static inline void printk_all_partitions(void) { } 599static inline void printk_all_partitions(void) { }