summaryrefslogtreecommitdiffstats
path: root/block/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'block/Kconfig')
-rw-r--r--block/Kconfig5
1 files changed, 3 insertions, 2 deletions
diff --git a/block/Kconfig b/block/Kconfig
index e10895647f728..9bda7bc80307f 100644
--- a/block/Kconfig
+++ b/block/Kconfig
@@ -62,10 +62,11 @@ config BLK_DEV_BSG
protocols (e.g. Task Management Functions and SMP in Serial
Attached SCSI).
+endif # BLOCK
+
config BLOCK_COMPAT
bool
+ depends on BLOCK && COMPAT
default y
-endif # BLOCK
-
source block/Kconfig.iosched