Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4a5a33b6 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman
Browse files

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: default avatarBill Pemberton <wfp5p@virginia.edu>
Reported-by: default avatarSachin Sant <sachinp@in.ibm.com>
Reported-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent ab64f663
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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