[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090211132256.6622afb5.randy.dunlap@oracle.com>
Date: Wed, 11 Feb 2009 13:22:56 -0800
From: Randy Dunlap <randy.dunlap@...cle.com>
To: lkml <linux-kernel@...r.kernel.org>
Cc: gregkh@...e.de
Subject: [PATCH 9/9] staging/sxg: fix napi interface build
From: Randy Dunlap <randy.dunlap@...cle.com>
Fix staging/sxg napi interface calls:
drivers/staging/sxg/sxg.c:1271: error: implicit declaration of function 'netif_rx_schedule_prep'
linux-next-20090209/drivers/staging/sxg/sxg.c:1272: error: implicit declaration of function '__netif_rx_schedule'
drivers/staging/sxg/sxg.c:1325: error: implicit declaration of function 'netif_rx_complete'
Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
---
drivers/staging/sxg/sxg.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- mmotm-2009-0210-1635.orig/drivers/staging/sxg/sxg.c
+++ mmotm-2009-0210-1635/drivers/staging/sxg/sxg.c
@@ -1268,8 +1268,8 @@ static void sxg_interrupt(struct adapter
{
WRITE_REG(adapter->UcodeRegs[0].Icr, SXG_ICR(0, SXG_ICR_MASK), TRUE);
- if (netif_rx_schedule_prep(&adapter->napi)) {
- __netif_rx_schedule(&adapter->napi);
+ if (napi_schedule_prep(&adapter->napi)) {
+ __napi_schedule(&adapter->napi);
}
}
@@ -1322,7 +1322,7 @@ static int sxg_poll(struct napi_struct *
sxg_handle_interrupt(adapter, &work_done, budget);
if (work_done < budget) {
- netif_rx_complete(napi);
+ napi_complete(napi);
WRITE_REG(adapter->UcodeRegs[0].Isr, 0, TRUE);
}
return work_done;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists