Message ID | 5aecbd3f-a489-0738-8249-5e08a6f2766f@infradead.org |
---|---|
State | New |
Headers | show |
Series | mdio: fix mdio-thunder.c dependency & build error | expand |
On Sat, Sep 26, 2020 at 09:33:43PM -0700, Randy Dunlap wrote: > From: Randy Dunlap <rdunlap@infradead.org> > > Fix build error by selecting MDIO_DEVRES for MDIO_THUNDER. > Fixes this build error: > > ld: drivers/net/phy/mdio-thunder.o: in function `thunder_mdiobus_pci_probe': > drivers/net/phy/mdio-thunder.c:78: undefined reference to `devm_mdiobus_alloc_size' > > Fixes: 379d7ac7ca31 ("phy: mdio-thunder: Add driver for Cavium Thunder SoC MDIO buses.") > Reported-by: kernel test robot <lkp@intel.com> > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Andrew
From: Randy Dunlap <rdunlap@infradead.org> Date: Sat, 26 Sep 2020 21:33:43 -0700 > From: Randy Dunlap <rdunlap@infradead.org> > > Fix build error by selecting MDIO_DEVRES for MDIO_THUNDER. > Fixes this build error: > > ld: drivers/net/phy/mdio-thunder.o: in function `thunder_mdiobus_pci_probe': > drivers/net/phy/mdio-thunder.c:78: undefined reference to `devm_mdiobus_alloc_size' > > Fixes: 379d7ac7ca31 ("phy: mdio-thunder: Add driver for Cavium Thunder SoC MDIO buses.") > Reported-by: kernel test robot <lkp@intel.com> > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Applied to 'net' and queued up for -stable, thanks.
--- linux-next-20200925.orig/drivers/net/mdio/Kconfig +++ linux-next-20200925/drivers/net/mdio/Kconfig @@ -164,6 +164,7 @@ config MDIO_THUNDER depends on 64BIT depends on PCI select MDIO_CAVIUM + select MDIO_DEVRES help This driver supports the MDIO interfaces found on Cavium ThunderX SoCs when the MDIO bus device appears as a PCI