summaryrefslogtreecommitdiffstats
path: root/drivers/staging/cxt1e1
diff options
context:
space:
mode:
authorShaun Laing <shaun@xresource.ca>2014-03-07 13:54:33 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-08 22:39:41 -0800
commitd66b744ac6f7366abf4baf22c81a570956c47fe4 (patch)
tree6fbea173d0238b8184bc357d70925a08e91d286e /drivers/staging/cxt1e1
parent95ad0724738c30e47f35d37d4dcf1c4cce4e94c5 (diff)
downloadop-kernel-dev-d66b744ac6f7366abf4baf22c81a570956c47fe4.zip
op-kernel-dev-d66b744ac6f7366abf4baf22c81a570956c47fe4.tar.gz
staging: cxt1e1: change declaration of TWV_table
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>
Diffstat (limited to 'drivers/staging/cxt1e1')
-rw-r--r--drivers/staging/cxt1e1/comet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/cxt1e1/comet.c b/drivers/staging/cxt1e1/comet.c
index c4c8c0f..953d96a 100644
--- a/drivers/staging/cxt1e1/comet.c
+++ b/drivers/staging/cxt1e1/comet.c
@@ -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,
OpenPOWER on IntegriCloud