[PATCH] mdio_bus: fix devm_mdiobus_alloc_size export

David Miller davem at davemloft.net
Fri May 9 13:39:33 PDT 2014


From: Arnd Bergmann <arnd at arndb.de>
Date: Thu,  8 May 2014 16:46:52 +0200

> commit 6d48f44b7b2 "mdio_bus: implement devm_mdiobus_alloc/devm_mdiobus_free"
> introduced a new function devm_mdiobus_alloc_size() but added an export
> for a different function devm_mdiobus_alloc(), which was obviously
> a simple mistake that leads to  build error whenever this function is
> used from a loadable module:
> 
> ERROR: "devm_mdiobus_alloc_size" [drivers/net/ethernet/ti/davinci_mdio.ko] undefined!
> 
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>

Applied to net-next, thanks Arnd.



More information about the linux-arm-kernel mailing list