diff mbox

scsi: ufs: Kconfig fix

Message ID 68bc8a512ea93a41be92f83fc664efd724855ced.1474631254.git.jpinto@synopsys.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Joao Pinto Sept. 23, 2016, 11:52 a.m. UTC
Currently if we have PCI and UFSHCD configured in the kernel, both
SCSI_UFS_DWC_TC_PCI and SCSI_UFSHCD_PCI show up, which is not correct.
This patch changes the UFS Kconfig to assure hierarchy between the 2
options.

Signed-off-by: Joao Pinto <jpinto@synopsys.com>
---
 drivers/scsi/ufs/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Martin K. Petersen Sept. 30, 2016, 1:57 a.m. UTC | #1
>>>>> "Joao" == Joao Pinto <Joao.Pinto@synopsys.com> writes:

Joao> Currently if we have PCI and UFSHCD configured in the kernel, both
Joao> SCSI_UFS_DWC_TC_PCI and SCSI_UFSHCD_PCI show up, which is not
Joao> correct.  This patch changes the UFS Kconfig to assure hierarchy
Joao> between the 2 options.

Applied to 4.9/scsi-queue.
diff mbox

Patch

diff --git a/drivers/scsi/ufs/Kconfig b/drivers/scsi/ufs/Kconfig
index 4796690..e27b4d4 100644
--- a/drivers/scsi/ufs/Kconfig
+++ b/drivers/scsi/ufs/Kconfig
@@ -63,7 +63,7 @@  config SCSI_UFSHCD_PCI
 
 config SCSI_UFS_DWC_TC_PCI
 	tristate "DesignWare pci support using a G210 Test Chip"
-	depends on SCSI_UFSHCD && PCI
+	depends on SCSI_UFSHCD_PCI
 	---help---
 	  Synopsys Test Chip is a PHY for prototyping purposes.