summaryrefslogtreecommitdiff
path: root/drivers/net/phy/phy_device.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-10-14 05:48:09 +0400
committerDavid S. Miller <davem@davemloft.net>2008-10-14 05:48:09 +0400
commit892871dcc39c23d3e30f8c317a5bfbab74084a40 (patch)
treec34180cfc01dc25b606668ae1f425903f9018f4d /drivers/net/phy/phy_device.c
parenta02d44a02bd2b3f3848f30e335adc3c076b3f905 (diff)
downloadlinux-892871dcc39c23d3e30f8c317a5bfbab74084a40.tar.xz
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 <bunk@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phy_device.c')
-rw-r--r--drivers/net/phy/phy_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c
index 171627480058..f11e900b437b 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);
/**