Commit 1914104f authored by Moritz Fischer's avatar Moritz Fischer Committed by David S. Miller

net: nixge: Fix Kconfig warning with OF_MDIO

Fix Kconfig warning with OF_MDIO where OF_MDIO was
selected unconditionally instead of only when
OF is actually enabled.

Fixes 7e8d5755 ("net: nixge: Add support for 64-bit platforms")
Suggested-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarMoritz Fischer <mdf@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 42220b77
...@@ -20,7 +20,7 @@ config NI_XGE_MANAGEMENT_ENET ...@@ -20,7 +20,7 @@ config NI_XGE_MANAGEMENT_ENET
tristate "National Instruments XGE management enet support" tristate "National Instruments XGE management enet support"
depends on HAS_IOMEM && HAS_DMA depends on HAS_IOMEM && HAS_DMA
select PHYLIB select PHYLIB
select OF_MDIO select OF_MDIO if OF
help help
Simple LAN device for debug or management purposes. Can Simple LAN device for debug or management purposes. Can
support either 10G or 1G PHYs via SFP+ ports. support either 10G or 1G PHYs via SFP+ ports.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment