From 763e90cddadb9aac03192f91c3ad5fa7fcf29b25 Mon Sep 17 00:00:00 2001 From: proski Date: Thu, 13 Aug 2009 17:00:26 +0000 Subject: [PATCH] Allow compilation for 2.4 kernels that backport the workqueue API git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@4086 0192ed92-7a03-0410-a25b-9323aeb14dbd --- ath/if_athvar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ath/if_athvar.h b/ath/if_athvar.h index 21e43ed..59a8110 100644 --- a/ath/if_athvar.h +++ b/ath/if_athvar.h @@ -79,7 +79,7 @@ typedef void *TQUEUE_ARG; #endif /* !DECLARE_TASKLET */ #include -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,41) +#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,41)) && !defined(INIT_WORK) #include #define work_struct tq_struct #define schedule_work(t) schedule_task((t)) -- 2.35.1