Skip to contentSkip to conversation

net: phy: fix mdio-mscc-miim build

PATCH Applied Bartosz Golaszewski 3 participants 3 messages Jul 13, 2020 – Jul 14, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: phy: fix mdio-mscc-miim build

From: Bartosz Golaszewski <[email protected]>

PHYLIB is not selected by mdio-mscc-miim but it uses mdio devres helpers. Explicitly select MDIO_DEVRES in this driver's Kconfig entry.

Fixes 1814cff26739 ("net: phy: add a Kconfig option for mdio_devres")
---
 drivers/net/phy/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/net/phy/Kconfig +1 -0
index 7ffa8a4529a8e..dd20c2c27c2f6 100644
@@ -185,6 +185,7 @@ config MDIO_MOXART
 config MDIO_MSCC_MIIM
 	tristate "Microsemi MIIM interface support"
 	depends on HAS_IOMEM
+	select MDIO_DEVRES
 	help
 	  This driver supports the MIIM (MDIO) interface found in the network
 	  switches of the Microsemi SoCs; it is recommended to switch on
Signature · 1 line
2.26.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Bartosz Golaszewski

From: Bartosz Golaszewski <[email protected]>

PHYLIB is not selected by mdio-mscc-miim but it uses mdio devres helpers. Explicitly select MDIO_DEVRES in this driver's Kconfig entry.

Fixes 1814cff26739 ("net: phy: add a Kconfig option for mdio_devres")

Andrew

maintainer Applied
#2 lore raw
In reply to Bartosz Golaszewski

From: Bartosz Golaszewski <[email protected]>
Date: Mon, 13 Jul 2020 17:12:07 +0200

Quoted 8 lines

From: Bartosz Golaszewski <[email protected]>

PHYLIB is not selected by mdio-mscc-miim but it uses mdio devres helpers. Explicitly select MDIO_DEVRES in this driver's Kconfig entry.

Fixes 1814cff26739 ("net: phy: add a Kconfig option for mdio_devres")

Applied to net-next, thanks.