]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/md/dm-bio-list.h
Fix kernel buuild with (CONFIG_COMPAT && ! CONFIG_BLOCK)
[linux-2.6-omap-h63xx.git] / drivers / md / dm-bio-list.h
index 16ee3b018b3aa83b80beda532ded23b609b731fb..3f7b827649e3d5ceeb93c1e4d51a5290b4dce933 100644 (file)
@@ -9,6 +9,8 @@
 
 #include <linux/bio.h>
 
+#ifdef CONFIG_BLOCK
+
 struct bio_list {
        struct bio *head;
        struct bio *tail;
@@ -106,4 +108,5 @@ static inline struct bio *bio_list_get(struct bio_list *bl)
        return bio;
 }
 
+#endif /* CONFIG_BLOCK */
 #endif