phy: spear1310-miphy: fix driver dependencies
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 1 Sep 2014 15:03:17 +0000 (17:03 +0200)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 12 Sep 2014 06:05:31 +0000 (11:35 +0530)
ST SPEAR1310-MIPHY support should be available only on
ST SPEAr1310 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>
drivers/phy/Kconfig

index 4ff8cbb620d3204e84a7afbb6925ed7faf055812..0972c2b5d580acc7c0467ed51021aabda37e3d0b 100644 (file)
@@ -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.