From: Randy Dunlap <randy.dunlap@oracle.com>
To: lkml <linux-kernel@vger.kernel.org>
Cc: gregkh@suse.de
Subject: [PATCH 9/9] staging/sxg: fix napi interface build
Date: Wed, 11 Feb 2009 13:22:56 -0800 [thread overview]
Message-ID: <20090211132256.6622afb5.randy.dunlap@oracle.com> (raw)
From: Randy Dunlap <randy.dunlap@oracle.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@oracle.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;
next reply other threads:[~2009-02-11 21:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-11 21:22 Randy Dunlap [this message]
2009-02-12 19:51 ` Greg KH
2009-02-12 22:56 ` David Miller
2009-02-12 23:08 ` Greg KH
2009-02-12 23:22 ` David Miller
2009-02-13 0:45 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090211132256.6622afb5.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome