summaryrefslogtreecommitdiff
path: root/drivers/staging/cxt1e1
diff options
context:
space:
mode:
authorNandini Hanumanthagowda <nandu.hgowda@gmail.com>2013-11-05 23:51:18 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-11-10 12:19:16 -0800
commitf635bbd1376bcb82dabea4c88ddd90faea7e3d25 (patch)
tree36df673cc943f7a0e5a811f04bc54fac9bf779be /drivers/staging/cxt1e1
parent42a5a418b2e572ae7056a6381d4d8428008a18b3 (diff)
staging: ctxt1e1: Fixed sparse warning related to static declaration
Fixed below thrown sparse warning by making the local variable declaration static: drivers/staging/cxt1e1/musycc.c:1:14: warning: symbol 'max_intcnt' was not declared. Should it be static? drivers/staging/cxt1e1/musycc.c:2:14: warning: symbol 'max_bh' was not declared. Should it be static? Signed-off-by: Nandini Hanumanthagowda <nandu.hgowda@gmail.com> Reviewed-by: Lisa Nguyen <lisa@xenapiadmin.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/cxt1e1')
-rw-r--r--drivers/staging/cxt1e1/musycc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/cxt1e1/musycc.c b/drivers/staging/cxt1e1/musycc.c
index 0ba8c3ae673b..7a3a30cd0f7f 100644
--- a/drivers/staging/cxt1e1/musycc.c
+++ b/drivers/staging/cxt1e1/musycc.c
@@ -1,5 +1,5 @@
-unsigned int max_intcnt = 0;
-unsigned int max_bh = 0;
+static unsigned int max_intcnt = 0;
+static unsigned int max_bh = 0;
/*-----------------------------------------------------------------------------
* musycc.c -