aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-12 17:58:36 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-12 17:58:36 -0700
commit2b9e0aae1d50e880c58d46788e5e3ebd89d75d62 (patch)
tree72c653644f8fecb56c543ddd89d5926aa9b83277 /block
parentab9c232286c2b77be78441c2d8396500b045777e (diff)
downloadkernel_samsung_smdk4412-2b9e0aae1d50e880c58d46788e5e3ebd89d75d62.zip
kernel_samsung_smdk4412-2b9e0aae1d50e880c58d46788e5e3ebd89d75d62.tar.gz
kernel_samsung_smdk4412-2b9e0aae1d50e880c58d46788e5e3ebd89d75d62.tar.bz2
Only enable BLOCK_COMPAT if COMPAT is needed
IOW, it needs to depend on both CONFIG_BLOCK and CONFIG_COMPAT. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block')
-rw-r--r--block/Kconfig5
1 files changed, 3 insertions, 2 deletions
diff --git a/block/Kconfig b/block/Kconfig
index e108956..9bda7bc 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