1 --- a/drivers/net/adm5120sw.c
2 +++ b/drivers/net/adm5120sw.c
3 @@ -517,7 +517,7 @@ static int adm5120_if_poll(struct napi_s
4 status = sw_int_status() & SWITCH_INTS_POLL;
5 if ((done < limit) && (!status)) {
6 SW_DBG("disable polling mode for %s\n", dev->name);
7 - netif_rx_complete(dev, napi);
9 sw_int_unmask(SWITCH_INTS_POLL);
12 @@ -548,7 +548,7 @@ static irqreturn_t adm5120_switch_irq(in
13 sw_dump_intr_mask("poll ints", status);
14 SW_DBG("enable polling mode for %s\n", dev->name);
15 sw_int_mask(SWITCH_INTS_POLL);
16 - netif_rx_schedule(dev, &priv->napi);
17 + napi_schedule(&priv->napi);