Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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