diff options
author | Jean Delvare <jdelvare@suse.de> | 2016-09-08 16:25:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-09 19:29:40 -0700 |
commit | c2f57fb97da5730509a50e316f353d3da17f6c25 (patch) | |
tree | 88815c3f854f56eb15f0504175e95fefd3e01bcc | |
parent | 0808a29a20322873fbfd3f7b4093ae92d0018e65 (diff) | |
download | talos-obmc-linux-c2f57fb97da5730509a50e316f353d3da17f6c25.tar.gz talos-obmc-linux-c2f57fb97da5730509a50e316f353d3da17f6c25.zip |
drivers: net: phy: mdio-xgene: Add hardware dependency
The mdio-xgene driver is only useful on X-Gene SoC.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Iyappan Subramanian <isubramanian@apm.com>
Cc: David S. Miller <davem@davemloft.net>
Acked-by: Iyappan Subramanian <isubramanian@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/phy/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index 47a64342cc16..b4863e4e522b 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. |