Commit 2b9e0aae1d50e880c58d46788e5e3ebd89d75d62

Authored by Linus Torvalds
1 parent ab9c232286

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>

Showing 1 changed file with 3 additions and 2 deletions Side-by-side Diff

... ... @@ -62,11 +62,12 @@
62 62 protocols (e.g. Task Management Functions and SMP in Serial
63 63 Attached SCSI).
64 64  
  65 +endif # BLOCK
  66 +
65 67 config BLOCK_COMPAT
66 68 bool
  69 + depends on BLOCK && COMPAT
67 70 default y
68   -
69   -endif # BLOCK
70 71  
71 72 source block/Kconfig.iosched