X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;ds=sidebyside;f=ath%2Fif_athvar.h;h=59a811054081199ecc5d501c963ca2cd56fccd49;hb=763e90cddadb9aac03192f91c3ad5fa7fcf29b25;hp=21e43ed5a645fc9fbf4ba4abfc11760aa2c5a284;hpb=ec0aeb9411ee029d795b1db718d80064591cef4b;p=madwifi%2F.git 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))