]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: vt6656: fix bad symbol declaration
authorNeil Armstrong <superna9999@gmail.com>
Fri, 11 Apr 2014 12:59:55 +0000 (14:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Apr 2014 23:10:29 +0000 (16:10 -0700)
With sparse, the following error appears :
  CHECK   drivers/staging/vt6656/aes_ccmp.c
drivers/staging/vt6656/aes_ccmp.c:221:6: warning: symbol 'AESbGenCCMP' was not declared. Should it be static?

Add correct include header in order to have function declaration.

Signed-off-by: Neil 'Superna' Armstrong <superna9999@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/aes_ccmp.c

index e2bfa8d266cd8a68f8ef11a8b99c2710e2522a50..a9d51687db7f56e4439c4efb100902ef938c428c 100644 (file)
@@ -32,6 +32,7 @@
 
 #include "device.h"
 #include "80211hdr.h"
+#include "aes_ccmp.h"
 
 /*
  * SBOX Table