There is no need to select FSL_ENETC_MDIO on t1040 SoC (ppc).
Signed-off-by: Maxim Kochetkov <[email protected]>
---
drivers/net/dsa/ocelot/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/dsa/ocelot/Kconfig b/drivers/net/dsa/ocelot/Kconfig
index 2d23ccef7d0e..307331e7783c 100644
--- a/drivers/net/dsa/ocelot/Kconfig
+++ b/drivers/net/dsa/ocelot/Kconfig
@@ -1,13 +1,13 @@
# SPDX-License-Identifier: GPL-2.0-only
config NET_DSA_MSCC_FELIX
tristate "Ocelot / Felix Ethernet switch support"
- depends on NET_DSA && PCI
+ depends on NET_DSA && (PCI || PPC)
depends on NET_VENDOR_MICROSEMI
depends on NET_VENDOR_FREESCALE
depends on HAS_IOMEM
select MSCC_OCELOT_SWITCH_LIB
select NET_DSA_TAG_OCELOT
- select FSL_ENETC_MDIO
+ select FSL_ENETC_MDIO if !PPC
help
This driver supports network switches from the Vitesse /
Microsemi / Microchip Ocelot family of switching cores that are
--
2.27.0