From: Jean Delvare Date: Thu, 8 Sep 2016 14:25:15 +0000 (+0200) Subject: drivers: net: phy: mdio-xgene: Add hardware dependency X-Git-Tag: v4.9.8~1372^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c2f57fb97da5730509a50e316f353d3da17f6c25;p=platform%2Fkernel%2Flinux-rpi3.git drivers: net: phy: mdio-xgene: Add hardware dependency The mdio-xgene driver is only useful on X-Gene SoC. Signed-off-by: Jean Delvare Cc: Iyappan Subramanian Cc: David S. Miller Acked-by: Iyappan Subramanian Signed-off-by: David S. Miller --- diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index 47a6434..b4863e4 100644 --- a/drivers/net/phy/Kconfig +++ b/drivers/net/phy/Kconfig @@ -303,6 +303,7 @@ config MDIO_HISI_FEMAC config MDIO_XGENE tristate "APM X-Gene SoC MDIO bus controller" + depends on ARCH_XGENE || COMPILE_TEST help This module provides a driver for the MDIO busses found in the APM X-Gene SoC's.