diff options
Diffstat (limited to 'include/linux/elevator.h')
-rw-r--r-- | include/linux/elevator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/elevator.h b/include/linux/elevator.h index 9c5a04f6114c..b3370ef5164d 100644 --- a/include/linux/elevator.h +++ b/include/linux/elevator.h | |||
@@ -3,6 +3,8 @@ | |||
3 | 3 | ||
4 | #include <linux/percpu.h> | 4 | #include <linux/percpu.h> |
5 | 5 | ||
6 | #ifdef CONFIG_BLOCK | ||
7 | |||
6 | typedef int (elevator_merge_fn) (request_queue_t *, struct request **, | 8 | typedef int (elevator_merge_fn) (request_queue_t *, struct request **, |
7 | struct bio *); | 9 | struct bio *); |
8 | 10 | ||
@@ -203,4 +205,5 @@ enum { | |||
203 | __val; \ | 205 | __val; \ |
204 | }) | 206 | }) |
205 | 207 | ||
208 | #endif /* CONFIG_BLOCK */ | ||
206 | #endif | 209 | #endif |