diff mbox

phy: qcom-ufs: fix platform dependency

Message ID 4583047.eZev6xPGf6@wuerfel (mailing list archive)
State Not Applicable, archived
Delegated to: Andy Gross
Headers show

Commit Message

Arnd Bergmann May 19, 2015, 3:11 p.m. UTC
The UFS PHY driver is written for the QCOM platform, but
has an incorrect dependency pointing to the recently
removed MSM platform, causing a warning whenever it
gets selected:

warning: (SCSI_UFS_QCOM) selects PHY_QCOM_UFS which has unmet direct dependencies (OF && ARCH_MSM)

This fixes the dependency.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: af6f8fff446 ("ufs-qcom: Switch dependency to ARCH_QCOM")


--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Stephen Boyd May 19, 2015, 6:58 p.m. UTC | #1
On 05/19/15 08:11, Arnd Bergmann wrote:
> The UFS PHY driver is written for the QCOM platform, but
> has an incorrect dependency pointing to the recently
> removed MSM platform, causing a warning whenever it
> gets selected:
>
> warning: (SCSI_UFS_QCOM) selects PHY_QCOM_UFS which has unmet direct dependencies (OF && ARCH_MSM)
>
> This fixes the dependency.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Fixes: af6f8fff446 ("ufs-qcom: Switch dependency to ARCH_QCOM")

Hm... I guess I should have combined the two patches into one. See [1]
for this exact patch from last month.

[1] https://lkml.org/lkml/2015/4/10/862
diff mbox

Patch

diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index 1b5c235562c9..c4d599976306 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -304,7 +304,7 @@  config PHY_STIH41X_USB
 
 config PHY_QCOM_UFS
 	tristate "Qualcomm UFS PHY driver"
-	depends on OF && ARCH_MSM
+	depends on OF && ARCH_QCOM
 	select GENERIC_PHY
 	help
 	  Support for UFS PHY on QCOM chipsets.