From 29417b899a77aaba1c060f5e123db4f50006f58a Mon Sep 17 00:00:00 2001 From: Linus Torvalds <torvalds@woody.linux-foundation.org> Date: Mon, 16 Jul 2007 16:52:44 -0700 Subject: Make BLK_DEV_BSG depend strictly on SCSI=y MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The SCSI code can be compiled modular, but BLK_DEV_BSG currently cannot, and depends on the SCSI layer. So make sure that it depends on the SCSI layer being compiled in, not just available as a module. Noticed by Jeff Garzik and S.Çağlar Onur. Cc: Jeff Garzik <jeff@garzik.org> Cc: Jens Axboe <jens.axboe@oracle.com> Cc: S.Çağlar Onur <caglar@pardus.org.tr> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> --- block/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'block') diff --git a/block/Kconfig b/block/Kconfig index 1d16b08e15..6597b60e8e 100644 --- a/block/Kconfig +++ b/block/Kconfig @@ -53,7 +53,7 @@ endif # BLOCK config BLK_DEV_BSG bool "Block layer SG support" - depends on SCSI && EXPERIMENTAL + depends on (SCSI=y) && EXPERIMENTAL default y ---help--- Saying Y here will enable generic SG (SCSI generic) v4 -- cgit v1.2.2