From: Greg Kroah-Hartman Date: Tue, 4 May 2010 23:11:26 +0000 (-0700) Subject: Staging: comedi: hwdrv_apci1032.c: sparse warning fixups X-Git-Tag: MMI-PSA29.97-13-9~23841^2^2~213 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2179b4c8b5435cde6bc5fb9d2411527c646ba14a;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Staging: comedi: hwdrv_apci1032.c: sparse warning fixups Mark a variable as static. Cc: Ian Abbott Cc: Frank Mori Hess Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci1032.c b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci1032.c index fe06789699f3..faea003e16c7 100644 --- a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci1032.c +++ b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci1032.c @@ -53,8 +53,8 @@ You should also find the complete GPL in the COPYING file accompanying this sour */ #include "hwdrv_apci1032.h" #include -/* Global variables */ -unsigned int ui_InterruptStatus; + +static unsigned int ui_InterruptStatus; /* +----------------------------------------------------------------------------+