summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz2014-09-01 17:04:15 +0200
committerKishon Vijay Abraham I2014-09-12 08:05:31 +0200
commit7652d35f98b5049be370835182a98ba5689f8361 (patch)
treebca63f1aa53a4e44323d71ba365d26e1647bc972
parentphy: spear1310-miphy: fix driver dependencies (diff)
downloadkernel-qcow2-linux-7652d35f98b5049be370835182a98ba5689f8361.tar.gz
kernel-qcow2-linux-7652d35f98b5049be370835182a98ba5689f8361.tar.xz
kernel-qcow2-linux-7652d35f98b5049be370835182a98ba5689f8361.zip
phy: spear1340-miphy: fix driver dependencies
ST SPEAR1340-MIPHY support should be available only on ST SPEAr1340 machine. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: Pratyush Anand <pratyush.anand@st.com> Cc: Mohit Kumar <mohit.kumar@st.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
-rw-r--r--drivers/phy/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index 0972c2b5d580..f833aa271a2e 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -221,6 +221,7 @@ config PHY_ST_SPEAR1310_MIPHY
config PHY_ST_SPEAR1340_MIPHY
tristate "ST SPEAR1340-MIPHY driver"
select GENERIC_PHY
+ depends on MACH_SPEAR1340 || COMPILE_TEST
help
Support for ST SPEAr1340 MIPHY which can be used for PCIe and SATA.