Browse Source

ltq-deu: fix compile for 3.14

Signed-off-by: John Crispin <[email protected]>

SVN-Revision: 42477
John Crispin 11 years ago
parent
commit
f7dc428d4b
1 changed files with 4 additions and 0 deletions
  1. 4 0
      package/kernel/lantiq/ltq-deu/src/ltq_deu_testmgr.c

+ 4 - 0
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;