build_wl18xx: add patch mechanism and bluetooth components
[wilink8-wlan/build-utilites.git] / patches / driver_patches / imx-3.10.53 / 0001-completion-remove-reinit_completion-decleration.patch
1 From da226aa1fd87531f596c2c351dd41fbab3dd44cb Mon Sep 17 00:00:00 2001
2 From: Eyal Reizer <eyalr@ti.com>
3 Date: Mon, 9 Mar 2015 10:07:44 +0200
4 Subject: [PATCH] completion: remove reinit_completion decleration
6 This api is already backported into the imx 3.10.53 kernel
8 Signed-off-by: Eyal Reizer <eyalr@ti.com>
9 ---
10  backport-include/linux/completion.h |   14 --------------
11  1 file changed, 14 deletions(-)
13 diff --git a/backport-include/linux/completion.h b/backport-include/linux/completion.h
14 index 399430d..f3734ef 100644
15 --- a/backport-include/linux/completion.h
16 +++ b/backport-include/linux/completion.h
17 @@ -3,18 +3,4 @@
18  #include_next <linux/completion.h>
19  #include <linux/version.h>
20  
21 -#if LINUX_VERSION_CODE < KERNEL_VERSION(3,13,0)
22 -/**
23 - * reinit_completion - reinitialize a completion structure
24 - * @x:  pointer to completion structure that is to be reinitialized
25 - *
26 - * This inline function should be used to reinitialize a completion structure so it can
27 - * be reused. This is especially important after complete_all() is used.
28 - */
29 -static inline void reinit_completion(struct completion *x)
30 -{
31 -       x->done = 0;
32 -}
33 -#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,13,0) */
34 -
35  #endif /* __BACKPORT_COMPLETION_H */
36 -- 
37 1.7.9.5