fix return type for comedi_irq_struct.handler on 2.6 kernels
authorFrank Mori Hess <fmhess@speakeasy.net>
Tue, 14 Jun 2005 01:42:09 +0000 (01:42 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Tue, 14 Jun 2005 01:42:09 +0000 (01:42 +0000)
comedi/rt.c

index 99de9163d428b8e58459d8d7fad96bdf1562a81e..04627a90cb48bb038a388df642ad5484f2078c9d 100644 (file)
@@ -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;