瀏覽代碼

scsi: ufs: Kconfig fix

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>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Joao Pinto 9 年之前
父節點
當前提交
5404fb7cec
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/scsi/ufs/Kconfig

+ 1 - 1
drivers/scsi/ufs/Kconfig

@@ -63,7 +63,7 @@ config SCSI_UFSHCD_PCI
 
 
 config SCSI_UFS_DWC_TC_PCI
 config SCSI_UFS_DWC_TC_PCI
 	tristate "DesignWare pci support using a G210 Test Chip"
 	tristate "DesignWare pci support using a G210 Test Chip"
-	depends on SCSI_UFSHCD && PCI
+	depends on SCSI_UFSHCD_PCI
 	---help---
 	---help---
 	  Synopsys Test Chip is a PHY for prototyping purposes.
 	  Synopsys Test Chip is a PHY for prototyping purposes.