]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/genhd.h
block: unify sysfs size node handling
[linux-2.6-omap-h63xx.git] / include / linux / genhd.h
index ff293ec8b3f77b90757cdec3e8c1d9af45e79434..9cb8380cf0eb9a59ceb4ba79fc51849561ae29a7 100644 (file)
@@ -591,6 +591,9 @@ extern void blk_register_region(dev_t devt, unsigned long range,
                        void *data);
 extern void blk_unregister_region(dev_t devt, unsigned long range);
 
+extern ssize_t part_size_show(struct device *dev,
+                             struct device_attribute *attr, char *buf);
+
 #else /* CONFIG_BLOCK */
 
 static inline void printk_all_partitions(void) { }