Skip to content

Commit

Permalink
net: export genphy_restart_aneg
Browse files Browse the repository at this point in the history
This patch fixes the following build error caused by
commit ed94493
(mv643xx_eth: convert to phylib):

<--  snip  -->

...
  Building modules, stage 2.
  MODPOST 1280 modules
ERROR: "genphy_restart_aneg" [drivers/net/mv643xx_eth.ko] undefined!
...
make[2]: *** [__modpost] Error 1

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Adrian Bunk authored and David S. Miller committed Oct 14, 2008
1 parent a02d44a commit 892871d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/phy/phy_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,7 @@ int genphy_restart_aneg(struct phy_device *phydev)

return ctl;
}
EXPORT_SYMBOL(genphy_restart_aneg);


/**
Expand Down

0 comments on commit 892871d

Please sign in to comment.