aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds2007-10-12 19:58:36 -0500
committerLinus Torvalds2007-10-12 19:58:36 -0500
commit2b9e0aae1d50e880c58d46788e5e3ebd89d75d62 (patch)
tree72c653644f8fecb56c543ddd89d5926aa9b83277
parentab9c232286c2b77be78441c2d8396500b045777e (diff)
downloadkernel-common-2b9e0aae1d50e880c58d46788e5e3ebd89d75d62.tar.gz
kernel-common-2b9e0aae1d50e880c58d46788e5e3ebd89d75d62.tar.xz
kernel-common-2b9e0aae1d50e880c58d46788e5e3ebd89d75d62.zip
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>
-rw-r--r--block/Kconfig5
1 files changed, 3 insertions, 2 deletions
diff --git a/block/Kconfig b/block/Kconfig
index e10895647f7..9bda7bc8030 100644
--- a/block/Kconfig
+++ b/block/Kconfig
@@ -62,10 +62,11 @@ config BLK_DEV_BSG
62 protocols (e.g. Task Management Functions and SMP in Serial 62 protocols (e.g. Task Management Functions and SMP in Serial
63 Attached SCSI). 63 Attached SCSI).
64 64
65endif # BLOCK
66
65config BLOCK_COMPAT 67config BLOCK_COMPAT
66 bool 68 bool
69 depends on BLOCK && COMPAT
67 default y 70 default y
68 71
69endif # BLOCK
70
71source block/Kconfig.iosched 72source block/Kconfig.iosched