aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-09-11 17:50:03 +0000
committerJohn Crispin <blogic@openwrt.org>2014-09-11 17:50:03 +0000
commitae362ceadb931b07b2909253545c103bbda27890 (patch)
treebc2b9015655dc3584b58177a1c469b350b4ec994
parent6dac0c08725283e256e867830fb204d004ac752c (diff)
downloadupstream-ae362ceadb931b07b2909253545c103bbda27890.tar.gz
upstream-ae362ceadb931b07b2909253545c103bbda27890.tar.bz2
upstream-ae362ceadb931b07b2909253545c103bbda27890.zip
ltq-deu: fix compile for 3.14
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42477 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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;