The mdio-xgene driver is only useful on X-Gene SoC.

Signed-off-by: Jean Delvare <jdelv...@suse.de>
Cc: Iyappan Subramanian <isubraman...@apm.com>
Cc: David S. Miller <da...@davemloft.net>
---
 drivers/net/phy/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-4.8-rc5.orig/drivers/net/phy/Kconfig  2016-09-04 23:31:46.000000000 
+0200
+++ linux-4.8-rc5/drivers/net/phy/Kconfig       2016-09-08 15:05:08.815824055 
+0200
@@ -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.


-- 
Jean Delvare
SUSE L3 Support

Reply via email to