diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-07-13 18:12:07 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-14 03:29:19 +0300 |
commit | c15841dd15af3ccbdc87031245ad1aee6d4362bb (patch) | |
tree | 58a23d0e04a66e80b0fe3a2f7d45ca72902b2a09 /drivers/net/phy/Kconfig | |
parent | e7fff95c8cea05d870239f6eebe7d3f1208e2a5c (diff) | |
download | linux-c15841dd15af3ccbdc87031245ad1aee6d4362bb.tar.xz |
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 <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>
Diffstat (limited to 'drivers/net/phy/Kconfig')
-rw-r--r-- | drivers/net/phy/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
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 |