]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Only enable BLOCK_COMPAT if COMPAT is needed
authorLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 13 Oct 2007 00:58:36 +0000 (17:58 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 13 Oct 2007 00:58:36 +0000 (17:58 -0700)
IOW, it needs to depend on both CONFIG_BLOCK and CONFIG_COMPAT.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
block/Kconfig

index e10895647f728bc2cca05c1f39a37a0f49659d5e..9bda7bc80307f2a69c06a0c46819c0a10d5321e2 100644 (file)
@@ -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