diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 19:52:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 19:53:22 -0400 |
commit | 29417b899a77aaba1c060f5e123db4f50006f58a (patch) | |
tree | 9862fdf04a4560787921b33a73952dd6aab1b816 | |
parent | a54890d7a6f37a4658294cbce650af4d1fabb8c9 (diff) |
Make BLK_DEV_BSG depend strictly on SCSI=y
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>
-rw-r--r-- | block/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/Kconfig b/block/Kconfig index 1d16b08e1506..6597b60e8e69 100644 --- a/block/Kconfig +++ b/block/Kconfig | |||
@@ -53,7 +53,7 @@ endif # BLOCK | |||
53 | 53 | ||
54 | config BLK_DEV_BSG | 54 | config BLK_DEV_BSG |
55 | bool "Block layer SG support" | 55 | bool "Block layer SG support" |
56 | depends on SCSI && EXPERIMENTAL | 56 | depends on (SCSI=y) && EXPERIMENTAL |
57 | default y | 57 | default y |
58 | ---help--- | 58 | ---help--- |
59 | Saying Y here will enable generic SG (SCSI generic) v4 | 59 | Saying Y here will enable generic SG (SCSI generic) v4 |