#include <linux/interrupt.h>
-#include <linux/version.h>
-
#ifndef IRQ_NONE
typedef void irqreturn_t;
#define IRQ_NONE
#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