2007-05-16 15:24:16

by Wink Saville

[permalink] [raw]
Subject: [PATCH] Make the scsi_wait_scan module only if SCSI_SCAN_ASYNC is enabled.

Allow for the possibility that even if modules are enabled
that scsi_wait_scan is only made if SCSI_SCAN_ASYNC is
enabled.

Signed-off-by: Wink Saville <[email protected]>
---
drivers/scsi/Kconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
index e62d23f..4ba6ee5 100644
--- a/drivers/scsi/Kconfig
+++ b/drivers/scsi/Kconfig
@@ -244,6 +244,7 @@ config SCSI_SCAN_ASYNC
config SCSI_WAIT_SCAN
tristate
default m
+ depends on SCSI_SCAN_ASYNC
depends on SCSI
depends on MODULES

--
1.5.2.rc0.g520d