staging: cxt1e1: change declaration of TWV_table
authorShaun Laing <shaun@xresource.ca>
Fri, 7 Mar 2014 20:54:33 +0000 (13:54 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Mar 2014 06:39:41 +0000 (22:39 -0800)
Changes the declaration of TWV_table to 'static void' to eliminate a sparse
"should it be static" warning.

Signed-off-by: Shaun Laing <shaun@xresource.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/cxt1e1/comet.c

index c4c8c0f9c959992361a06185828b2718efc25f14..953d96a3de3861c76ca2422e61ffc7e7511a08f5 100644 (file)
@@ -33,7 +33,7 @@ static void WrtRcvEqualizerTbl(ci_t *ci, struct s_comet_reg *comet, u_int32_t *t
 static void WrtXmtWaveformTbl(ci_t *ci, struct s_comet_reg *comet, u_int8_t table[COMET_NUM_SAMPLES][COMET_NUM_UNITS]);
 
 
-void       *TWV_table[12] = {
+static void *TWV_table[12] = {
        TWVLongHaul0DB, TWVLongHaul7_5DB, TWVLongHaul15DB, TWVLongHaul22_5DB,
        TWVShortHaul0, TWVShortHaul1, TWVShortHaul2, TWVShortHaul3,
        TWVShortHaul4, TWVShortHaul5,