]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[SCSI] Fix dependency problems in SCSI drivers
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 6 Mar 2008 21:32:06 +0000 (15:32 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 9 Mar 2008 00:30:19 +0000 (18:30 -0600)
We have several drivers that don't list SCSI as a dependency in
Kconfig.  That leads to them potentially being selected as Y even if
SCSI is M (which will produce a build failure).  Fix this by making
the if SCSI_LOWLEVEL that goes around all the drivers a tristate
forcing them all automatically to inherit the value of SCSI.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/Kconfig

index c46666a248099491901e0ed971cb45ef86cabecf..b9d374082b6572f136aff58dddf54e4b65e541fe 100644 (file)
@@ -325,7 +325,7 @@ menuconfig SCSI_LOWLEVEL
        depends on SCSI!=n
        default y
 
-if SCSI_LOWLEVEL
+if SCSI_LOWLEVEL && SCSI
 
 config ISCSI_TCP
        tristate "iSCSI Initiator over TCP/IP"