From: Greg Kroah-Hartman Date: Tue, 4 May 2010 23:09:53 +0000 (-0700) Subject: Staging: comedi: hwdrv_apci035.c: fix sparse warnings X-Git-Tag: MMI-PSA29.97-13-9~23841^2^2~215 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=08b93e7bda617a623ffae77940e4acfa31204367;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Staging: comedi: hwdrv_apci035.c: fix sparse warnings Some variables should be static. Cc: Ian Abbott Cc: Frank Mori Hess Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci035.c b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci035.c index 791297266fc0..1369e22b7ee6 100644 --- a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci035.c +++ b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci035.c @@ -52,9 +52,9 @@ You should also find the complete GPL in the COPYING file accompanying this sour +----------------------------------------------------------------------------+ */ #include "hwdrv_apci035.h" -int i_WatchdogNbr = 0; -int i_Temp = 0; -int i_Flag = 1; +static int i_WatchdogNbr = 0; +static int i_Temp = 0; +static int i_Flag = 1; /* +----------------------------------------------------------------------------+ | Function Name : int i_APCI035_ConfigTimerWatchdog |