From: Frank Mori Hess Date: Mon, 6 Apr 2009 15:17:26 +0000 (+0000) Subject: 2.6.30 kernel won't define IRQ_NONE as a macro. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a92b8f9839429a21cfc625a1c437551fb5ce5ae6;p=comedi.git 2.6.30 kernel won't define IRQ_NONE as a macro. --- diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index 188465c5..3b57e47c 100644 --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h @@ -23,7 +23,7 @@ #include -#ifndef IRQ_NONE +#if !defined(IRQ_NONE) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29) typedef void irqreturn_t; #define IRQ_NONE #define IRQ_HANDLED