Skip to content

Commit

Permalink
Staging: comedi: fix checkpatch.pl warning in interrupt.h
Browse files Browse the repository at this point in the history
No more need for a kernel version check now that we are in the main
kernel tree.

Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Jan 6, 2009
1 parent 39eca2a commit 0bf8e27
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 @@ -53,15 +53,8 @@ typedef void irqreturn_t;
#endif
#endif

/* if interrupt handler prototype has pt_regs* parameter */
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19)
#define PT_REGS_ARG , struct pt_regs *regs
#define PT_REGS_CALL , regs
#define PT_REGS_NULL , NULL
#else
#define PT_REGS_ARG
#define PT_REGS_CALL
#define PT_REGS_NULL
#endif

#endif

0 comments on commit 0bf8e27

Please sign in to comment.