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-Url: https://git.stricted.de/?a=commitdiff_plain;h=08b93e7bda617a623ffae77940e4acfa31204367;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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 791297266fc..1369e22b7ee 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 |