From: Linus Torvalds Date: Sat, 13 Oct 2007 00:58:36 +0000 (-0700) Subject: Only enable BLOCK_COMPAT if COMPAT is needed X-Git-Tag: v2.6.24-rc1~1390 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b9e0aae1d50e880c58d46788e5e3ebd89d75d62;p=linux-2.6 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 --- diff --git a/block/Kconfig b/block/Kconfig index e10895647f..9bda7bc803 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