From: Bill Pemberton Date: Thu, 19 Mar 2009 18:22:44 +0000 (-0400) Subject: Staging: comedi: Remove 2.4 irqreturn_t compatibility in comedi/interrupt.h X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4a5a33b622ca46acd0a7c593a804964353d54a7b;p=linux-beck.git 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 Reported-by: Sachin Sant Reported-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman --- 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 -#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