Skip to contentSkip to conversation

drivers: net: phy: mdio-xgene: Add hardware dependency

PATCH Applied Jean Delvare 3 participants 3 messages Sep 8, 2016 – Sep 10, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers: net: phy: mdio-xgene: Add hardware dependency

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

Cc Iyappan Subramanian <[email protected]>
Cc David S. Miller <[email protected]>
---
 drivers/net/phy/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/net/phy/Kconfig +1 -0
@@ -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.
Signature · 2 lines
Jean Delvare
SUSE L3 Support
Acked-by on v1 1/1
#1 lore raw
Quoted 13 lines · Jean Delvare

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

Cc Iyappan Subramanian <[email protected]>
Cc David S. Miller <[email protected]>
---
 drivers/net/phy/Kconfig |    1 +
 1 file changed, 1 insertion(+)

drivers/net/phy/Kconfig 2016-09-08 15:05:08.815824055 +0200 config MDIO_HISI_FEMAC · line 309

Quoted 7 lines
drivers/net/phy/Kconfig 2016-09-08 15:05:08.815824055 +0200 renamed from drivers/net/phy/Kconfig 2016-09-04 23:31:46.000000000 +0200 +1 -0
@@ -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.

Thanks.

Quoted 3 lines

--
Jean Delvare
SUSE L3 Support