Skip to contentSkip to conversation

phy: spear1310-miphy: fix driver dependencies

PATCH New Bartlomiej Zolnierkiewicz 1 participant 1 message Sep 1, 2014 Generic PHY framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 phy: spear1310-miphy: fix driver dependencies

ST SPEAR1310-MIPHY support should be available only on ST SPEAr1310 machine.

---
 drivers/phy/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/phy/Kconfig +1 -0
Index: b/drivers/phy/Kconfig
===================================================================
@@ -214,6 +214,7 @@ config PHY_QCOM_IPQ806X_SATA
 config PHY_ST_SPEAR1310_MIPHY
 	tristate "ST SPEAR1310-MIPHY driver"
 	select GENERIC_PHY
+	depends on MACH_SPEAR1310 || COMPILE_TEST
 	help
 	  Support for ST SPEAr1310 MIPHY which can be used for PCIe and SATA.