From: Steven King Date: Wed, 21 Oct 2009 01:51:37 +0000 (-0700) Subject: net: fix section mismatch in fec.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=78abcb13dd573f80d76d12007b36200a86f1e494;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/fec.c b/drivers/net/fec.c index 29234380e6c6..16a1d58419d9 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;