summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2009-03-19 14:22:44 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-03 14:54:15 -0700
commit4a5a33b622ca46acd0a7c593a804964353d54a7b (patch)
treef8bc2059ec8fc6353d13a9586b7069706ba31cb8
parentab64f663412716193ccafefd7e6cc27dcf691ac8 (diff)
Staging: comedi: Remove 2.4 irqreturn_t compatibility in comedi/interrupt.h
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>
-rw-r--r--drivers/staging/comedi/interrupt.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/comedi/interrupt.h b/drivers/staging/comedi/interrupt.h
index 50cf823dbd04..d1f09892da2e 100644
--- a/drivers/staging/comedi/interrupt.h
+++ b/drivers/staging/comedi/interrupt.h
@@ -21,13 +21,6 @@
#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