File ndiswrapper-init_completion.patch of Package ndiswrapper.8217
--- driver/ntoskernel.h +++ driver/ntoskernel.h @@ -348,11 +348,13 @@ #endif #ifdef INIT_COMPLETION +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,12,40) static inline void reinit_completion(struct completion *x) { INIT_COMPLETION(*x); } #endif +#endif /* TICK is 100ns */ #define TICKSPERSEC 10000000