[PATCH] Make the scsi_wait_scan module only if SCSI_SCAN_ASYNC is enabled.

From: Wink Saville
Date: Wed May 16 2007 - 11:24:17 EST


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 <wink@xxxxxxxxxxx>
---
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/