1 Fix Linux 2.6.30 compatibility
3 Linux 2.6.30 doesn't define IRQ_NONE as a macro. Assume irqreturn_t,
4 IRQ_NONE and IRQ_HANDLED to be present on Linux 2.6.29 and newer.
5 http://madwifi-project.org/changeset/3986
8 @@ -83,11 +83,13 @@ typedef void *TQUEUE_ARG;
10 * Guess how the interrupt handler should work.
12 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)
13 #if !defined(IRQ_NONE)
14 typedef void irqreturn_t;
17 #endif /* !defined(IRQ_NONE) */
18 +#endif /* Linux < 2.6.29 */
20 #ifndef SET_MODULE_OWNER
21 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)