]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mdio_bus: fix devm_mdiobus_alloc_size export
authorArnd Bergmann <arnd@arndb.de>
Thu, 8 May 2014 14:46:52 +0000 (16:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 May 2014 20:39:11 +0000 (16:39 -0400)
commit93dccc59165ad1b4db94528dfdf88bff92c09cef
treea9e65ad13d80ec81109bed190a53d3948bb134a2
parentdc3e5d18f2a21f4523f75800f4062348a7e94d14
mdio_bus: fix devm_mdiobus_alloc_size export

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>
Cc: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Cc: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio_bus.c