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>
This commit is contained in:
Nandini Hanumanthagowda 2013-11-05 23:51:18 +05:30 committed by Greg Kroah-Hartman
parent 42a5a418b2
commit f635bbd137
1 changed files with 2 additions and 2 deletions

View File

@ -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 -