Commit 78abcb13dd573f80d76d12007b36200a86f1e494
Committed by
David S. Miller
1 parent
abf90cca97
Exists in
master
and in
7 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/net/fec.c
... | ... | @@ -1654,7 +1654,7 @@ |
1654 | 1654 | * |
1655 | 1655 | * index is only used in legacy code |
1656 | 1656 | */ |
1657 | -int __init fec_enet_init(struct net_device *dev, int index) | |
1657 | +static int fec_enet_init(struct net_device *dev, int index) | |
1658 | 1658 | { |
1659 | 1659 | struct fec_enet_private *fep = netdev_priv(dev); |
1660 | 1660 | struct bufdesc *cbd_base; |