[PATCH] mdio_bus: fix devm_mdiobus_alloc_size export
From: davem@davemloft.net (David Miller)
Date: 2014-05-09 20:39:37
Also in:
lkml, netdev
From: davem@davemloft.net (David Miller)
Date: 2014-05-09 20:39:37
Also in:
lkml, netdev
From: Arnd Bergmann <arnd@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@arndb.de>
Applied to net-next, thanks Arnd.