]> err.no Git - linux-2.6/blobdiff - include/linux/genhd.h
Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm
[linux-2.6] / include / linux / genhd.h
index f589559cf0709586d1f126f92ebbbbca9cefa53b..4c03ee353e78684f64fd230101c7eab150860d79 100644 (file)
@@ -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