[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>
This commit is contained in:
Родитель
302a5c4b3d
Коммит
da848ec37d
|
@ -697,12 +697,13 @@ out:
|
||||||
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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче