summaryrefslogtreecommitdiffstats
path: root/include/linux/raid/md.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/raid/md.h')
-rw-r--r--include/linux/raid/md.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/raid/md.h b/include/linux/raid/md.h
index eb3e547c8fee3..c588709acbbc9 100644
--- a/include/linux/raid/md.h
+++ b/include/linux/raid/md.h
@@ -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