summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSteven King <sfking@fdwdc.com>2009-10-20 18:51:37 -0700
committerDavid S. Miller <davem@davemloft.net>2009-10-20 18:51:37 -0700
commit78abcb13dd573f80d76d12007b36200a86f1e494 (patch)
treebe9eb383fe6d7f6bc760e759e7cc12ed1060920e /drivers
parentabf90cca9725bd05362fb3443ad55071a69a12d9 (diff)
downloadlinux-3.10-78abcb13dd573f80d76d12007b36200a86f1e494.tar.gz
linux-3.10-78abcb13dd573f80d76d12007b36200a86f1e494.tar.bz2
linux-3.10-78abcb13dd573f80d76d12007b36200a86f1e494.zip
net: fix section mismatch in fec.c
fec_enet_init is called by both fec_probe and fec_resume, so it shouldn't be marked as __init. Signed-off-by: Steven King <sfking@fdwdc.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/fec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fec.c b/drivers/net/fec.c
index 29234380e6c..16a1d58419d 100644
--- a/drivers/net/fec.c
+++ b/drivers/net/fec.c
@@ -1654,7 +1654,7 @@ static const struct net_device_ops fec_netdev_ops = {
*
* index is only used in legacy code
*/
-int __init fec_enet_init(struct net_device *dev, int index)
+static int fec_enet_init(struct net_device *dev, int index)
{
struct fec_enet_private *fep = netdev_priv(dev);
struct bufdesc *cbd_base;