OSDN Git Service

net: phy: Add Meson GXL PHY hardware dependency
authorJean Delvare <jdelvare@suse.de>
Mon, 9 Jan 2017 14:17:27 +0000 (15:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jan 2017 21:34:39 +0000 (16:34 -0500)
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 <jdelvare@suse.de>
Fixes: 7334b3e47aee ("net: phy: Add Meson GXL Internal PHY driver")
Cc: Neil Armstrong <narmstrong@baylibre.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/Kconfig

index d361835..8dbd59b 100644 (file)
@@ -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