* [PATCH net-next] net: nixge: Fix Kconfig warning with OF_MDIO
@ 2018-08-31 20:30 Moritz Fischer
2018-09-02 23:10 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Moritz Fischer @ 2018-08-31 20:30 UTC (permalink / raw)
To: davem
Cc: netdev, linux-kernel, andrew, moritz.fischer, linux-next, Moritz Fischer
Fix Kconfig warning with OF_MDIO where OF_MDIO was
selected unconditionally instead of only when
OF is actually enabled.
Fixes 7e8d5755be0e ("net: nixge: Add support for 64-bit platforms")
Suggested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
---
drivers/net/ethernet/ni/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/ni/Kconfig b/drivers/net/ethernet/ni/Kconfig
index 04e315704f71..c73978474c4b 100644
--- a/drivers/net/ethernet/ni/Kconfig
+++ b/drivers/net/ethernet/ni/Kconfig
@@ -20,7 +20,7 @@ config NI_XGE_MANAGEMENT_ENET
tristate "National Instruments XGE management enet support"
depends on HAS_IOMEM && HAS_DMA
select PHYLIB
- select OF_MDIO
+ select OF_MDIO if OF
help
Simple LAN device for debug or management purposes. Can
support either 10G or 1G PHYs via SFP+ ports.
--
2.18.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] net: nixge: Fix Kconfig warning with OF_MDIO
2018-08-31 20:30 [PATCH net-next] net: nixge: Fix Kconfig warning with OF_MDIO Moritz Fischer
@ 2018-09-02 23:10 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2018-09-02 23:10 UTC (permalink / raw)
To: mdf; +Cc: netdev, linux-kernel, andrew, moritz.fischer, linux-next
From: Moritz Fischer <mdf@kernel.org>
Date: Fri, 31 Aug 2018 13:30:54 -0700
> Fix Kconfig warning with OF_MDIO where OF_MDIO was
> selected unconditionally instead of only when
> OF is actually enabled.
>
> Fixes 7e8d5755be0e ("net: nixge: Add support for 64-bit platforms")
> Suggested-by: Andrew Lunn <andrew@lunn.ch>
> Signed-off-by: Moritz Fischer <mdf@kernel.org>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-09-02 23:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-31 20:30 [PATCH net-next] net: nixge: Fix Kconfig warning with OF_MDIO Moritz Fischer
2018-09-02 23:10 ` 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).