Commit 529d1fdf authored by Andrew Lunn's avatar Andrew Lunn Committed by David S. Miller

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: default avatarAndrew Lunn <andrew@lunn.ch>
Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 897217b9
...@@ -138,6 +138,7 @@ config MDIO_OCTEON ...@@ -138,6 +138,7 @@ config MDIO_OCTEON
depends on (64BIT && OF_MDIO) || COMPILE_TEST depends on (64BIT && OF_MDIO) || COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM
select MDIO_CAVIUM select MDIO_CAVIUM
select MDIO_DEVRES
help help
This module provides a driver for the Octeon and ThunderX MDIO This module provides a driver for the Octeon and ThunderX MDIO
buses. It is required by the Octeon and ThunderX ethernet device buses. It is required by the Octeon and ThunderX ethernet device
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment