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-Url: https://git.stricted.de/?a=commitdiff_plain;h=2179b4c8b5435cde6bc5fb9d2411527c646ba14a;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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; /* +----------------------------------------------------------------------------+