Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 78abcb13 authored by Steven King's avatar Steven King Committed by David S. Miller
Browse files

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: default avatarSteven King <sfking@fdwdc.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent abf90cca
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1654,7 +1654,7 @@ static const struct net_device_ops fec_netdev_ops = {
  *
  *
  * index is only used in legacy code
  * 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 fec_enet_private *fep = netdev_priv(dev);
	struct bufdesc *cbd_base;
	struct bufdesc *cbd_base;