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 <jdelv...@suse.de> Fixes: 7334b3e47aee ("net: phy: Add Meson GXL Internal PHY driver") Cc: Neil Armstrong <narmstr...@baylibre.com> Cc: Florian Fainelli <f.faine...@gmail.com> Cc: Andrew Lunn <and...@lunn.ch> Cc: David S. Miller <da...@davemloft.net> --- 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