ltq-deu: fix compile for 3.14
authorJohn Crispin <john@openwrt.org>
Thu, 11 Sep 2014 17:50:03 +0000 (17:50 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 11 Sep 2014 17:50:03 +0000 (17:50 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42477

package/kernel/lantiq/ltq-deu/src/ltq_deu_testmgr.c

index f1b57525d06f34a6a496500b3f0aeff9f7f4c64e..054cac3ed39f2e24c7453d893a61b05dfb91917c 100644 (file)
  * Used by test_cipher_speed()
  */
 
+#ifndef INIT_COMPLETION
+#define INIT_COMPLETION(a) reinit_completion(&a)
+#endif
+
 
 static unsigned int sec;