From 6d6b97a9d6e133059a81dc03f0e8e9343b18b33a Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Tue, 14 Jun 2005 01:42:09 +0000 Subject: [PATCH] fix return type for comedi_irq_struct.handler on 2.6 kernels --- comedi/rt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comedi/rt.c b/comedi/rt.c index 99de9163..04627a90 100644 --- a/comedi/rt.c +++ b/comedi/rt.c @@ -54,7 +54,7 @@ struct comedi_irq_struct { int rt; int irq; - void (*handler)(int irq,void *dev_id,struct pt_regs *regs); + irqreturn_t (*handler)(int irq,void *dev_id,struct pt_regs *regs); unsigned long flags; const char *device; comedi_device *dev_id; -- 2.26.2