Skip to content

Commit

Permalink
[PATCH] declance: Convert to irqreturn_t.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ralf Baechle authored and Jeff Garzik committed Oct 18, 2005
1 parent 302a5c4 commit da848ec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/net/declance.c
Original file line number Diff line number Diff line change
Expand Up @@ -697,12 +697,13 @@ static void lance_tx(struct net_device *dev)
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
Expand Down

0 comments on commit da848ec

Please sign in to comment.