aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-09-11 17:50:03 +0000
committerJohn Crispin <john@openwrt.org>2014-09-11 17:50:03 +0000
commitf7dc428d4bf419886caad3acb010fb5a42e1c8c7 (patch)
treebcb2164029a23f537bb8f5cc9a8266b166ba1e4a /package/kernel
parent18b5d72d834b1a4fb3c7daa2fab9f449ff55b1c1 (diff)
downloadupstream-f7dc428d4bf419886caad3acb010fb5a42e1c8c7.tar.gz
upstream-f7dc428d4bf419886caad3acb010fb5a42e1c8c7.tar.bz2
upstream-f7dc428d4bf419886caad3acb010fb5a42e1c8c7.zip
ltq-deu: fix compile for 3.14
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42477
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/lantiq/ltq-deu/src/ltq_deu_testmgr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/kernel/lantiq/ltq-deu/src/ltq_deu_testmgr.c b/package/kernel/lantiq/ltq-deu/src/ltq_deu_testmgr.c
index f1b57525d0..054cac3ed3 100644
--- a/package/kernel/lantiq/ltq-deu/src/ltq_deu_testmgr.c
+++ b/package/kernel/lantiq/ltq-deu/src/ltq_deu_testmgr.c
@@ -75,6 +75,10 @@
* Used by test_cipher_speed()
*/
+#ifndef INIT_COMPLETION
+#define INIT_COMPLETION(a) reinit_completion(&a)
+#endif
+
static unsigned int sec;