]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
net: phy: fix mdio-mscc-miim build
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 13 Jul 2020 15:12:07 +0000 (17:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Jul 2020 00:29:19 +0000 (17:29 -0700)
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 <lkp@intel.com>
Fixes: 1814cff26739 ("net: phy: add a Kconfig option for mdio_devres")
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/Kconfig

index 7ffa8a4529a8e10782a9087eb35f0423cb3bb20e..dd20c2c27c2f65e8d087d69ea59a003068f2d2d0 100644 (file)
@@ -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