提交 da848ec3 编写于 作者: R Ralf Baechle 提交者: Jeff Garzik

[PATCH] declance: Convert to irqreturn_t.

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

 drivers/net/declance.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册