Skip to content

Commit

Permalink
staging: cxt1e1: change declaration of TWV_table
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shaun Laing authored and Greg Kroah-Hartman committed Mar 9, 2014
1 parent 95ad072 commit d66b744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/cxt1e1/comet.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d66b744

Please sign in to comment.