]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: phy: export fixed_phy_register()
authorMark Salter <msalter@redhat.com>
Fri, 12 Dec 2014 04:03:26 +0000 (23:03 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Dec 2014 15:58:53 +0000 (10:58 -0500)
commit37e9a6904520b525b542ecd67201164d06fdb95a
tree88922d9bc4b0e29fe6c699baa6498e66426a1982
parente962f30297491fddc55a432d5d37df33c83e06f2
net: phy: export fixed_phy_register()

When building the bcmgenet driver as module, I get:

ERROR: "fixed_phy_register" [drivers/net/ethernet/broadcom/genet/genet.ko] undefined!

commit b0ba512e225d72 ("net: bcmgenet: enable driver to work without device
tree") which added a call to fixed_phy_register. But fixed_phy_register
needs to be exported if used from a module.

Signed-off-by: Mark Salter <msalter@redhat.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/fixed.c