summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/dpc.c
diff options
context:
space:
mode:
authorJames A Shackleford2014-06-02 02:26:55 +0200
committerGreg Kroah-Hartman2014-06-20 01:33:44 +0200
commit04d521970bd430b613a000a6b66c568d419b1ff3 (patch)
tree3f88d202c5aefa63ffca07ddb872813f7cfeb5b6 /drivers/staging/vt6655/dpc.c
parentstaging: vt6655: fix sparse warning "cast removes address space of expression" (diff)
downloadkernel-qcow2-linux-04d521970bd430b613a000a6b66c568d419b1ff3.tar.gz
kernel-qcow2-linux-04d521970bd430b613a000a6b66c568d419b1ff3.tar.xz
kernel-qcow2-linux-04d521970bd430b613a000a6b66c568d419b1ff3.zip
staging: vt6655: fix sparse warning for static declarations
This patch fixes the following sparse warnings: dpc.c:65:21: warning: symbol 'acbyRxRate' was not declared. Should it be static? dpc.c:272:9: warning: symbol 'MngWorkItem' was not declared. Should it be static? dpc.c:288:1: warning: symbol 'device_receive_frame' was not declared. Should it be static? Signed-off-by: James A Shackleford <shack@linux.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/dpc.c')
-rw-r--r--drivers/staging/vt6655/dpc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/vt6655/dpc.c b/drivers/staging/vt6655/dpc.c
index 7ddaf2603ba6..696564b44200 100644
--- a/drivers/staging/vt6655/dpc.c
+++ b/drivers/staging/vt6655/dpc.c
@@ -54,6 +54,7 @@
#include "rf.h"
#include "iowpa.h"
#include "aes_ccmp.h"
+#include "dpc.h"
/*--------------------- Static Definitions -------------------------*/
@@ -62,7 +63,7 @@
/*--------------------- Static Variables --------------------------*/
static int msglevel = MSG_LEVEL_INFO;
-const unsigned char acbyRxRate[MAX_RATE] =
+static const unsigned char acbyRxRate[MAX_RATE] =
{2, 4, 11, 22, 12, 18, 24, 36, 48, 72, 96, 108};
/*--------------------- Static Functions --------------------------*/