Commit 2b9e0aae authored by Linus Torvalds's avatar Linus Torvalds

Only enable BLOCK_COMPAT if COMPAT is needed

IOW, it needs to depend on both CONFIG_BLOCK and CONFIG_COMPAT.
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ab9c2322
...@@ -62,10 +62,11 @@ config BLK_DEV_BSG ...@@ -62,10 +62,11 @@ config BLK_DEV_BSG
protocols (e.g. Task Management Functions and SMP in Serial protocols (e.g. Task Management Functions and SMP in Serial
Attached SCSI). Attached SCSI).
endif # BLOCK
config BLOCK_COMPAT config BLOCK_COMPAT
bool bool
depends on BLOCK && COMPAT
default y default y
endif # BLOCK
source block/Kconfig.iosched source block/Kconfig.iosched
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment