diff options
Diffstat (limited to 'drivers/md/dm-bio-list.h')
-rw-r--r-- | drivers/md/dm-bio-list.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/md/dm-bio-list.h b/drivers/md/dm-bio-list.h index 16ee3b018b3a..3f7b827649e3 100644 --- a/drivers/md/dm-bio-list.h +++ b/drivers/md/dm-bio-list.h | |||
@@ -9,6 +9,8 @@ | |||
9 | 9 | ||
10 | #include <linux/bio.h> | 10 | #include <linux/bio.h> |
11 | 11 | ||
12 | #ifdef CONFIG_BLOCK | ||
13 | |||
12 | struct bio_list { | 14 | struct bio_list { |
13 | struct bio *head; | 15 | struct bio *head; |
14 | struct bio *tail; | 16 | struct bio *tail; |
@@ -106,4 +108,5 @@ static inline struct bio *bio_list_get(struct bio_list *bl) | |||
106 | return bio; | 108 | return bio; |
107 | } | 109 | } |
108 | 110 | ||
111 | #endif /* CONFIG_BLOCK */ | ||
109 | #endif | 112 | #endif |