浏览代码

[SCSI] Fix dependency problems in SCSI drivers

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>
James Bottomley 17 年之前
父节点
当前提交
67951f6380
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/scsi/Kconfig

+ 1 - 1
drivers/scsi/Kconfig

@@ -325,7 +325,7 @@ menuconfig SCSI_LOWLEVEL
 	depends on SCSI!=n
 	depends on SCSI!=n
 	default y
 	default y
 
 
-if SCSI_LOWLEVEL
+if SCSI_LOWLEVEL && SCSI
 
 
 config ISCSI_TCP
 config ISCSI_TCP
 	tristate "iSCSI Initiator over TCP/IP"
 	tristate "iSCSI Initiator over TCP/IP"