Skip to content

Commit

Permalink
Staging: comedi: Remove 2.4 irqreturn_t compatibility in comedi/inter…
Browse files Browse the repository at this point in the history
…rupt.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>
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent ab64f66 commit 4a5a33b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/staging/comedi/interrupt.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4a5a33b

Please sign in to comment.