diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-10-19 03:12:20 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-23 19:53:17 -0400 |
commit | 7c2399756ab8ccb2c57da4630b4aa4a1d61b3846 (patch) | |
tree | d201140b6c42c92a1f283707861e824935ea0e39 /drivers/net/cxgb3/sge.c | |
parent | f07ef395ad4cd050e695edfec217ceb2158220a3 (diff) | |
download | lwn-7c2399756ab8ccb2c57da4630b4aa4a1d61b3846.tar.gz lwn-7c2399756ab8ccb2c57da4630b4aa4a1d61b3846.zip |
[SPARC, XEN, NET/CXGB3] use irq_handler_t where appropriate
Rather than hand-rolling our own prototype, make the code more
future-proof by using the standard irq_handler_t typedef.
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/cxgb3/sge.c')
-rw-r--r-- | drivers/net/cxgb3/sge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/sge.c b/drivers/net/cxgb3/sge.c index 994b5d6404df..c15e43a8543b 100644 --- a/drivers/net/cxgb3/sge.c +++ b/drivers/net/cxgb3/sge.c @@ -2431,7 +2431,7 @@ static irqreturn_t t3b_intr_napi(int irq, void *cookie) * (MSI-X, MSI, or legacy) and whether NAPI will be used to service the * response queues. */ -intr_handler_t t3_intr_handler(struct adapter *adap, int polling) +irq_handler_t t3_intr_handler(struct adapter *adap, int polling) { if (adap->flags & USING_MSIX) return polling ? t3_sge_intr_msix_napi : t3_sge_intr_msix; |