Subject: [PATCH] net: phy: Add Meson GXL PHY hardware dependency

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

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

Signed-off-by: Jean Delvare <[email-masked]>
Fixes: 7334b3e47aee ("net: phy: Add Meson GXL Internal PHY driver")
Cc: Neil Armstrong <[email-masked]>
Cc: Florian Fainelli <[email-masked]>
Cc: Andrew Lunn <[email-masked]>
Cc: David S. Miller <[email-masked]>
---
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(+)

--- linux-4.10-rc2.orig/drivers/net/phy/Kconfig	2017-01-01 23:31:53.000000000 +0100
+++ linux-4.10-rc2/drivers/net/phy/Kconfig	2017-01-09 15:15:12.782142790 +0100
@@ -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

-- 
Jean Delvare
SUSE L3 Support