]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[EP93xx_ETH]: Build fix after 2.6.24 NAPI changes.
authorDavid S. Miller <davem@sunset.davemloft.net>
Wed, 14 Nov 2007 04:46:09 +0000 (20:46 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 14 Nov 2007 04:46:09 +0000 (20:46 -0800)
Reported by rmk from kautobuild output:

drivers/net/arm/ep93xx_eth.c:420: error: implicit declaration of function '__netif_rx_schedule_prep'

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/arm/ep93xx_eth.c

index 7f016f3d5bf0ea3cd4f7675d50e0dd1c24d8f5f9..91a6590d107b181177a74e0bcd71003e9c4a906c 100644 (file)
@@ -417,7 +417,7 @@ static irqreturn_t ep93xx_irq(int irq, void *dev_id)
 
        if (status & REG_INTSTS_RX) {
                spin_lock(&ep->rx_lock);
-               if (likely(__netif_rx_schedule_prep(dev, &ep->napi))) {
+               if (likely(netif_rx_schedule_prep(dev, &ep->napi))) {
                        wrl(ep, REG_INTEN, REG_INTEN_TX);
                        __netif_rx_schedule(dev, &ep->napi);
                }