From: Bartlomiej Zolnierkiewicz Date: Mon, 1 Sep 2014 15:03:17 +0000 (+0200) Subject: phy: spear1310-miphy: fix driver dependencies X-Git-Tag: v3.17-rc6~4^2~4^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6100a7c1e9fb4ce6a2c3ed04081d4d5ab8362f0f;p=karo-tx-linux.git phy: spear1310-miphy: fix driver dependencies ST SPEAR1310-MIPHY support should be available only on ST SPEAr1310 machine. Signed-off-by: Bartlomiej Zolnierkiewicz Acked-by: Kyungmin Park Cc: Pratyush Anand Cc: Mohit Kumar Signed-off-by: Kishon Vijay Abraham I --- diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig index 4ff8cbb620d3..0972c2b5d580 100644 --- a/drivers/phy/Kconfig +++ 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.