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:
parent
42a5a418b2
commit
f635bbd137
|
@ -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 -
|
||||
|
|
Loading…
Reference in New Issue