From: Bartlomiej Zolnierkiewicz Date: Mon, 1 Sep 2014 15:04:15 +0000 (+0200) Subject: phy: spear1340-miphy: fix driver dependencies X-Git-Tag: v3.17-rc6~4^2~4^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7652d35f98b5049be370835182a98ba5689f8361;p=profile%2Fcommon%2Fplatform%2Fkernel%2Flinux-artik7.git phy: spear1340-miphy: fix driver dependencies ST SPEAR1340-MIPHY support should be available only on ST SPEAr1340 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 0972c2b..f833aa2 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.