scsi: ufs: Fix 'unmet direct dependencies' config warning
authorAlim Akhtar <alim.akhtar@samsung.com>
Tue, 21 Jul 2020 17:20:21 +0000 (22:50 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 10 Sep 2020 02:26:29 +0000 (22:26 -0400)
commit09fd5f0ddf327ce2b7764ecf3264f3f9230207f1
treee34c7fe289d88c14c2f4937a83f3097e1602a243
parent5e48a084f4e824e1b624d3fd7ddcf53d2ba69e53
scsi: ufs: Fix 'unmet direct dependencies' config warning

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.

Link: https://lore.kernel.org/r/20200721172021.28922-1-alim.akhtar@samsung.com
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/Kconfig