summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6656/datarate.c
diff options
context:
space:
mode:
authorValentina Manea <valentina.manea.m@gmail.com>2013-11-04 10:44:02 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-11-10 10:57:33 -0800
commit3b1388518a316f1eefe0b781e0583937d5407160 (patch)
tree3103015527c824b23b37909a02184fc28865c70b /drivers/staging/vt6656/datarate.c
parent1e01f94317cf85bd4b0bbeaf4e00cf948d660ee0 (diff)
staging: vt6656: Fix (most) sparse warnings regarding static functions/variables
This fixes sparse warnings for functions and variables, e.g.: * drivers/staging/vt6656/card.c:69:11: warning: symbol 'cwRXBCNTSFOff' was not declared. Should it be static? Some warnings were false positives, such as: * drivers/staging/vt6656/dpc.c:249:5: warning: symbol 'RXbBulkInProcessData' was not declared. Should it be static? Signed-off-by: Valentina Manea <valentina.manea.m@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/datarate.c')
-rw-r--r--drivers/staging/vt6656/datarate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vt6656/datarate.c b/drivers/staging/vt6656/datarate.c
index af9eab0c00a3..547db6f0c53f 100644
--- a/drivers/staging/vt6656/datarate.c
+++ b/drivers/staging/vt6656/datarate.c
@@ -45,7 +45,7 @@
/* static int msglevel = MSG_LEVEL_DEBUG; */
static int msglevel = MSG_LEVEL_INFO;
-const u8 acbyIERate[MAX_RATE] = {0x02, 0x04, 0x0B, 0x16, 0x0C, 0x12, 0x18,
+static const u8 acbyIERate[MAX_RATE] = {0x02, 0x04, 0x0B, 0x16, 0x0C, 0x12, 0x18,
0x24, 0x30, 0x48, 0x60, 0x6C};
#define AUTORATE_TXOK_CNT 0x0400