Просмотр исходного кода

ltq-deu: fix compile for 3.14

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

SVN-Revision: 42477
John Crispin 11 лет назад
Родитель
Сommit
f7dc428d4b
1 измененных файлов с 4 добавлено и 0 удалено
  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()
  * Used by test_cipher_speed()
  */
  */
 
 
+#ifndef INIT_COMPLETION
+#define INIT_COMPLETION(a) reinit_completion(&a)
+#endif
+
 
 
 static unsigned int sec;
 static unsigned int sec;