From: Bartosz Golaszewski <bgolaszew...@baylibre.com>

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

Reported-by: kernel test robot <l...@intel.com>
Fixes: 1814cff26739 ("net: phy: add a Kconfig option for mdio_devres")
Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com>
---
 drivers/net/phy/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
index e351d65533aa..7a756e0374fd 100644
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -190,6 +190,7 @@ config MDIO_MSCC_MIIM
 config MDIO_MVUSB
        tristate "Marvell USB to MDIO Adapter"
        depends on USB
+       select MDIO_DEVRES
        help
          A USB to MDIO converter present on development boards for
          Marvell's Link Street family of Ethernet switches.
-- 
2.26.1

Reply via email to