From: Alim Akhtar Date: Tue, 21 Jul 2020 17:20:21 +0000 (+0530) Subject: scsi: ufs: Fix 'unmet direct dependencies' config warning X-Git-Tag: v5.10.7~1329^2~138 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=09fd5f0ddf327ce2b7764ecf3264f3f9230207f1;p=platform%2Fkernel%2Flinux-rpi.git 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 Acked-by: Randy Dunlap Signed-off-by: Alim Akhtar Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/ufs/Kconfig b/drivers/scsi/ufs/Kconfig index f639499..dcdb4eb 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