netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: phy: Add Meson GXL PHY hardware dependency
@ 2017-01-09 14:17 Jean Delvare
  2017-01-09 21:38 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Jean Delvare @ 2017-01-09 14:17 UTC (permalink / raw)
  To: netdev; +Cc: Neil Armstrong, Florian Fainelli, Andrew Lunn, David S. Miller

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>
---
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: phy: Add Meson GXL PHY hardware dependency
  2017-01-09 14:17 [PATCH] net: phy: Add Meson GXL PHY hardware dependency Jean Delvare
@ 2017-01-09 21:38 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2017-01-09 21:38 UTC (permalink / raw)
  To: jdelvare; +Cc: netdev, narmstrong, f.fainelli, andrew

From: Jean Delvare <jdelvare@suse.de>
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 <jdelvare@suse.de>
> Fixes: 7334b3e47aee ("net: phy: Add Meson GXL Internal PHY driver")

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-09 21:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-09 14:17 [PATCH] net: phy: Add Meson GXL PHY hardware dependency Jean Delvare
2017-01-09 21:38 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).