]> Git Repo - linux.git/commitdiff
phy: spear1340-miphy: fix driver dependencies
authorBartlomiej Zolnierkiewicz <[email protected]>
Mon, 1 Sep 2014 15:04:15 +0000 (17:04 +0200)
committerKishon Vijay Abraham I <[email protected]>
Fri, 12 Sep 2014 06:05:31 +0000 (11:35 +0530)
ST SPEAR1340-MIPHY support should be available only on
ST SPEAr1340 machine.

Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Acked-by: Kyungmin Park <[email protected]>
Cc: Pratyush Anand <[email protected]>
Cc: Mohit Kumar <[email protected]>
Signed-off-by: Kishon Vijay Abraham I <[email protected]>
drivers/phy/Kconfig

index 0972c2b5d580acc7c0467ed51021aabda37e3d0b..f833aa271a2e2306877cf3624157eaa189615702 100644 (file)
@@ -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.
 
This page took 0.065214 seconds and 4 git commands to generate.