1 --- a/drivers/net/ag71xx/ag71xx_main.c
2 +++ b/drivers/net/ag71xx/ag71xx_main.c
3 @@ -561,7 +561,7 @@ static void ag71xx_oom_timer_handler(uns
4 struct net_device *dev = (struct net_device *) data;
5 struct ag71xx *ag = netdev_priv(dev);
7 - netif_rx_schedule(&ag->napi);
8 + napi_schedule(&ag->napi);
11 static void ag71xx_tx_timeout(struct net_device *dev)
12 @@ -717,7 +717,7 @@ static int ag71xx_poll(struct napi_struc
13 DBG("%s: disable polling mode, done=%d, limit=%d\n",
14 dev->name, done, limit);
16 - netif_rx_complete(napi);
17 + napi_complete(napi);
19 /* enable interrupts */
20 spin_lock_irqsave(&ag->lock, flags);
21 @@ -736,7 +736,7 @@ static int ag71xx_poll(struct napi_struc
22 printk(KERN_DEBUG "%s: out of memory\n", dev->name);
24 mod_timer(&ag->oom_timer, jiffies + AG71XX_OOM_REFILL);
25 - netif_rx_complete(napi);
26 + napi_complete(napi);
30 @@ -766,7 +766,7 @@ static irqreturn_t ag71xx_interrupt(int
31 if (likely(status & AG71XX_INT_POLL)) {
32 ag71xx_int_disable(ag, AG71XX_INT_POLL);
33 DBG("%s: enable polling mode\n", dev->name);
34 - netif_rx_schedule(&ag->napi);
35 + napi_schedule(&ag->napi);