From: Andrew Lunn Date: Thu, 17 Sep 2020 16:19:49 +0000 (+0200) Subject: net: mdio: octeon: Select MDIO_DEVRES X-Git-Tag: v5.10-rc1~107^2~235 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=529d1fdf9719c2ca6b35c24e88e0e7dd62a9a172;p=thirdparty%2Fkernel%2Flinux.git net: mdio: octeon: Select MDIO_DEVRES This driver makes use of devm_mdiobus_alloc_size. To ensure this is available select MDIO_DEVRES which provides it. Signed-off-by: Andrew Lunn Reported-by: Randy Dunlap Acked-by: Randy Dunlap # build-tested Signed-off-by: David S. Miller --- diff --git a/drivers/net/mdio/Kconfig b/drivers/net/mdio/Kconfig index 1299880dfe740..840727cc9499d 100644 --- a/drivers/net/mdio/Kconfig +++ b/drivers/net/mdio/Kconfig @@ -138,6 +138,7 @@ config MDIO_OCTEON depends on (64BIT && OF_MDIO) || COMPILE_TEST depends on HAS_IOMEM select MDIO_CAVIUM + select MDIO_DEVRES help This module provides a driver for the Octeon and ThunderX MDIO buses. It is required by the Octeon and ThunderX ethernet device