Skip to contentSkip to conversation

net: phy: Add Meson GXL PHY hardware dependency

PATCH Applied Jean Delvare 2 participants 2 messages Jan 9, 2017

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

PATCH 1/1 net: phy: Add Meson GXL PHY hardware dependency

As I understand it the Meson GXL PHY driver is only useful on one architecture so only make it visible on that architecture.

Fixes 7334b3e47aee ("net: phy: Add Meson GXL Internal PHY driver")
Cc Neil Armstrong <[email protected]>
Cc Florian Fainelli <[email protected]>
Cc Andrew Lunn <[email protected]>
Cc David S. Miller <[email protected]>

---
If I got it wrong, please let me know the proper dependencies and I'll resubmit.

 drivers/net/phy/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/net/phy/Kconfig +1 -0
@@ -279,6 +279,7 @@ config MARVELL_PHY
 
 config MESON_GXL_PHY
 	tristate "Amlogic Meson GXL Internal PHY"
+	depends on ARCH_MESON || COMPILE_TEST
 	---help---
 	  Currently has a driver for the Amlogic Meson GXL Internal PHY
 
Signature · 2 lines
Jean Delvare
SUSE L3 Support
maintainer Applied
#1 lore raw

From: Jean Delvare <[email protected]>
Date: Mon, 9 Jan 2017 15:17:27 +0100

Quoted 5 lines

As I understand it the Meson GXL PHY driver is only useful on one architecture so only make it visible on that architecture.

Fixes 7334b3e47aee ("net: phy: Add Meson GXL Internal PHY driver")

Applied.