Commit da848ec3 authored by Ralf Baechle's avatar Ralf Baechle Committed by Jeff Garzik

[PATCH] declance: Convert to irqreturn_t.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>

 drivers/net/declance.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent 302a5c4b
...@@ -697,12 +697,13 @@ static void lance_tx(struct net_device *dev) ...@@ -697,12 +697,13 @@ static void lance_tx(struct net_device *dev)
spin_unlock(&lp->lock); spin_unlock(&lp->lock);
} }
static void lance_dma_merr_int(const int irq, void *dev_id, static irqreturn_t lance_dma_merr_int(const int irq, void *dev_id,
struct pt_regs *regs) struct pt_regs *regs)
{ {
struct net_device *dev = (struct net_device *) dev_id; struct net_device *dev = (struct net_device *) dev_id;
printk("%s: DMA error\n", dev->name); printk("%s: DMA error\n", dev->name);
return IRQ_HANDLED;
} }
static irqreturn_t static irqreturn_t
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment