[PATCH] phy: spear1340-miphy: fix driver dependencies

From: Bartlomiej Zolnierkiewicz
Date: Mon Sep 01 2014 - 11:04:26 EST


ST SPEAR1340-MIPHY support should be available only on
ST SPEAr1340 machine.

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@xxxxxxxxxxx>
Acked-by: Kyungmin Park <kyungmin.park@xxxxxxxxxxx>
Cc: Pratyush Anand <pratyush.anand@xxxxxx>
Cc: Mohit Kumar <mohit.kumar@xxxxxx>
---
drivers/phy/Kconfig | 1 +
1 file changed, 1 insertion(+)

Index: b/drivers/phy/Kconfig
===================================================================
--- a/drivers/phy/Kconfig 2014-09-01 16:45:59.920734730 +0200
+++ b/drivers/phy/Kconfig 2014-09-01 16:47:12.588736649 +0200
@@ -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.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/