]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/raid/md.h
[PATCH] BLOCK: Make it possible to disable the block layer [try #6]
[linux-2.6-omap-h63xx.git] / include / linux / raid / md.h
index eb3e547c8fee37798521949cc4f341df352a6d6d..c588709acbbc90b868681dda826605fa14afb0a5 100644 (file)
@@ -53,6 +53,8 @@
 #include <linux/raid/md_u.h>
 #include <linux/raid/md_k.h>
 
+#ifdef CONFIG_MD
+
 /*
  * Different major versions are not compatible.
  * Different minor versions are only downward compatible.
@@ -95,5 +97,6 @@ extern void md_new_event(mddev_t *mddev);
 
 extern void md_update_sb(mddev_t * mddev);
 
+#endif /* CONFIG_MD */
 #endif