]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/elevator.h
[PATCH] BLOCK: Make it possible to disable the block layer [try #6]
[linux-2.6-omap-h63xx.git] / include / linux / elevator.h
index 9c5a04f6114cc57792fd9e3220a16cb0fa96cf5a..b3370ef5164d0589d3300e91162c0b5599045de1 100644 (file)
@@ -3,6 +3,8 @@
 
 #include <linux/percpu.h>
 
+#ifdef CONFIG_BLOCK
+
 typedef int (elevator_merge_fn) (request_queue_t *, struct request **,
                                 struct bio *);
 
@@ -203,4 +205,5 @@ enum {
        __val;                                                  \
 })
 
+#endif /* CONFIG_BLOCK */
 #endif