summaryrefslogtreecommitdiffstats
path: root/drivers/staging/sxg
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2009-02-11 13:22:56 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-03 14:53:12 -0700
commitc1f46a001fd878f1be4e08ce1df2d5677e335926 (patch)
treee589828284d8fd51d09f60f7eb40b984fca56413 /drivers/staging/sxg
parent1782199f96eab4ad28c0334f27eb5a52b6c62428 (diff)
downloadop-kernel-dev-c1f46a001fd878f1be4e08ce1df2d5677e335926.zip
op-kernel-dev-c1f46a001fd878f1be4e08ce1df2d5677e335926.tar.gz
Staging: sxg: fix napi interface build
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@oracle.com> Cc: Mithlesh Thukral <mithlesh@linsyssoft.com> Cc: LinSysSoft Sahara Team <saharaproj@linsyssoft.com> Cc: Christopher Harrer <charrer@alacritech.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/sxg')
-rw-r--r--drivers/staging/sxg/sxg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/sxg/sxg.c b/drivers/staging/sxg/sxg.c
index 287edb7..5d31e1b 100644
--- a/drivers/staging/sxg/sxg.c
+++ b/drivers/staging/sxg/sxg.c
@@ -1268,8 +1268,8 @@ static void sxg_interrupt(struct adapter_t *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 *napi, int budget)
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;
OpenPOWER on IntegriCloud