From: Bartosz Golaszewski Date: Mon, 13 Jul 2020 15:12:07 +0000 (+0200) Subject: net: phy: fix mdio-mscc-miim build X-Git-Tag: v5.9-rc1~133^2~268 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=c15841dd15af3ccbdc87031245ad1aee6d4362bb;p=linux-2.6-block.git 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: kernel test robot Fixes: 1814cff26739 ("net: phy: add a Kconfig option for mdio_devres") Signed-off-by: Bartosz Golaszewski Reviewed-by: Andrew Lunn Signed-off-by: David S. Miller --- diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index 7ffa8a4529a8..dd20c2c27c2f 100644 --- a/drivers/net/phy/Kconfig +++ b/drivers/net/phy/Kconfig @@ -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