Skip to contentSkip to conversation

phy: qcom-ufs: fix platform dependency

PATCH New Arnd Bergmann 2 participants 2 messages May 19, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 phy: qcom-ufs: fix platform dependency

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.

Fixes af6f8fff446 ("ufs-qcom: Switch dependency to ARCH_QCOM")
drivers/phy/Kconfig +1 -1
index 1b5c235562c9..c4d599976306 100644
@@ -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.
#1 lore raw

PATCH 1/1 phy: qcom-ufs: fix platform dependency

Quoted 11 lines · Arnd Bergmann

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.

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

Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project