summaryrefslogtreecommitdiff
path: root/drivers/net/declance.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-10-10 17:51:01 +0400
committerJeff Garzik <jgarzik@pobox.com>2005-10-19 02:03:47 +0400
commitda848ec37d9cf9edbe269f8be9b3de52f90d70da (patch)
tree09db5571eca2971dee69423aacf0376e9e4742b8 /drivers/net/declance.c
parent302a5c4b3d4d6aff7772a4b3431bb772586e6011 (diff)
downloadlinux-da848ec37d9cf9edbe269f8be9b3de52f90d70da.tar.xz
[PATCH] declance: Convert to irqreturn_t.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org> drivers/net/declance.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/declance.c')
-rw-r--r--drivers/net/declance.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/declance.c b/drivers/net/declance.c
index 521c83137bf6..636763b5102e 100644
--- a/drivers/net/declance.c
+++ b/drivers/net/declance.c
@@ -697,12 +697,13 @@ out:
spin_unlock(&lp->lock);
}
-static void lance_dma_merr_int(const int irq, void *dev_id,
- struct pt_regs *regs)
+static irqreturn_t lance_dma_merr_int(const int irq, void *dev_id,
+ struct pt_regs *regs)
{
struct net_device *dev = (struct net_device *) dev_id;
printk("%s: DMA error\n", dev->name);
+ return IRQ_HANDLED;
}
static irqreturn_t