diff mbox series

[v2] scsi: ufs: Fix 'unmet direct dependencies' config warning

Message ID 20200910015647.52875-1-alim.akhtar@samsung.com
State New
Headers show
Series [v2] scsi: ufs: Fix 'unmet direct dependencies' config warning | expand

Commit Message

Alim Akhtar Sept. 10, 2020, 1:56 a.m. UTC
With !CONFIG_OF and SCSI_UFS_EXYNOS selected, the below
warning is given:

WARNING: unmet direct dependencies detected for PHY_SAMSUNG_UFS
  Depends on [n]: OF [=n] && (ARCH_EXYNOS || COMPILE_TEST [=y])
  Selected by [y]:
  - SCSI_UFS_EXYNOS [=y] && SCSI_LOWLEVEL [=y] && SCSI [=y] && SCSI_UFSHCD_PLATFORM [=y] && (ARCH_EXYNOS || COMPILE_TEST [=y])

Fix it by removing PHY_SAMSUNG_UFS dependency.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
---
* Changes since v1
 - rebased on 5.10-scsi-queue 
 - Added Randy's Acked-by

 drivers/scsi/ufs/Kconfig | 1 -
 1 file changed, 1 deletion(-)


base-commit: 32417d7844ab0bc154c39128d9ac026f4f8a7907
diff mbox series

Patch

diff --git a/drivers/scsi/ufs/Kconfig b/drivers/scsi/ufs/Kconfig
index f6394999b98c..dcdb4eb1f90b 100644
--- a/drivers/scsi/ufs/Kconfig
+++ b/drivers/scsi/ufs/Kconfig
@@ -165,7 +165,6 @@  config SCSI_UFS_BSG
 config SCSI_UFS_EXYNOS
 	tristate "EXYNOS specific hooks to UFS controller platform driver"
 	depends on SCSI_UFSHCD_PLATFORM && (ARCH_EXYNOS || COMPILE_TEST)
-	select PHY_SAMSUNG_UFS
 	help
 	  This selects the EXYNOS specific additions to UFSHCD platform driver.
 	  UFS host on EXYNOS includes HCI and UNIPRO layer, and associates with