]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Staging: comedi: Remove 2.4 irqreturn_t compatibility in comedi/interrupt.h
authorBill Pemberton <wfp5p@virginia.edu>
Thu, 19 Mar 2009 18:22:44 +0000 (14:22 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:54:15 +0000 (14:54 -0700)
This allows the comedi driver to build after commit bedd3..058bb
is applied.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Reported-by: Sachin Sant <sachinp@in.ibm.com>
Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/interrupt.h

index 50cf823dbd0479a937702731bd9c8787bf55141c..d1f09892da2e4bc97bcf408c53dc3c20f8370190 100644 (file)
 
 #include <linux/interrupt.h>
 
-#ifndef IRQ_NONE
-typedef void irqreturn_t;
-#define IRQ_NONE
-#define IRQ_HANDLED
-#define IRQ_RETVAL(x) (void)(x)
-#endif
-
 #ifndef IRQF_DISABLED
 #define IRQF_DISABLED           SA_INTERRUPT
 #define IRQF_SAMPLE_RANDOM      SA_SAMPLE_RANDOM