block: simplify Kconfig files
[linux-2.6-block.git] / block / Kconfig
index 1d83504749e755824e5c86247c3a5f0b690f9a8a..c4d35829ea4f1a410fb393f84c515113357b5e4d 100644 (file)
@@ -196,33 +196,29 @@ source "block/partitions/Kconfig"
 
 endmenu
 
-endif # BLOCK
-
 config BLOCK_COMPAT
-       bool
-       depends on BLOCK && COMPAT
-       default y
+       def_bool COMPAT
 
 config BLK_MQ_PCI
-       bool
-       depends on BLOCK && PCI
-       default y
+       def_bool PCI
 
 config BLK_MQ_VIRTIO
        bool
-       depends on BLOCK && VIRTIO
+       depends on VIRTIO
        default y
 
 config BLK_MQ_RDMA
        bool
-       depends on BLOCK && INFINIBAND
+       depends on INFINIBAND
        default y
 
 config BLK_PM
-       def_bool BLOCK && PM
+       def_bool PM
 
 # do not use in new code
 config BLOCK_HOLDER_DEPRECATED
        bool
 
 source "block/Kconfig.iosched"
+
+endif # BLOCK