From: Adrian Bunk Date: Tue, 14 Oct 2008 01:48:09 +0000 (-0700) Subject: net: export genphy_restart_aneg X-Git-Tag: v2.6.28-rc1~580^2~7 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=892871dcc39c23d3e30f8c317a5bfbab74084a40;p=linux-2.6-omap-h63xx.git net: export genphy_restart_aneg This patch fixes the following build error caused by commit ed94493fb38a665cebcf750dfabe8a6dd13e136f (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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c index 17162748005..f11e900b437 100644 --- a/drivers/net/phy/phy_device.c +++ b/drivers/net/phy/phy_device.c @@ -557,6 +557,7 @@ int genphy_restart_aneg(struct phy_device *phydev) return ctl; } +EXPORT_SYMBOL(genphy_restart_aneg); /**