mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 23:36:49 +07:00
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 7e8d5755be
("net: nixge: Add support for 64-bit platforms")
Suggested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
42220b7749
commit
1914104fc6
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user