Commit c15841dd authored by Bartosz Golaszewski's avatar Bartosz Golaszewski Committed by David S. Miller

net: phy: fix mdio-mscc-miim build

PHYLIB is not selected by mdio-mscc-miim but it uses mdio devres helpers.
Explicitly select MDIO_DEVRES in this driver's Kconfig entry.
Reported-by: default avatarkernel test robot <lkp@intel.com>
Fixes: 1814cff2 ("net: phy: add a Kconfig option for mdio_devres")
Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e7fff95c
...@@ -185,6 +185,7 @@ config MDIO_MOXART ...@@ -185,6 +185,7 @@ config MDIO_MOXART
config MDIO_MSCC_MIIM config MDIO_MSCC_MIIM
tristate "Microsemi MIIM interface support" tristate "Microsemi MIIM interface support"
depends on HAS_IOMEM depends on HAS_IOMEM
select MDIO_DEVRES
help help
This driver supports the MIIM (MDIO) interface found in the network This driver supports the MIIM (MDIO) interface found in the network
switches of the Microsemi SoCs; it is recommended to switch on switches of the Microsemi SoCs; it is recommended to switch on
......
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