From 2b9e0aae1d50e880c58d46788e5e3ebd89d75d62 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Fri, 12 Oct 2007 17:58:36 -0700 Subject: [PATCH] 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 --- block/Kconfig | 9 +++++---- 1 file changed, 5 insertions(+), 4 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 protocols (e.g. Task Management Functions and SMP in Serial Attached SCSI). -config BLOCK_COMPAT - bool - default y - endif # BLOCK +config BLOCK_COMPAT + bool + depends on BLOCK && COMPAT + default y + source block/Kconfig.iosched