From: Greg Kroah-Hartman Date: Tue, 4 May 2010 23:04:19 +0000 (-0700) Subject: Staging: comedi: addi_amcc_s5933.h: sparse cleanup X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ad2d4714a5468ff5fb6414d06b29c8d5ca31d6f9;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Staging: comedi: addi_amcc_s5933.h: sparse cleanup Mark a variable static that does not need to be global. Cc: Ian Abbott Cc: Frank Mori Hess Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/addi-data/addi_amcc_s5933.h b/drivers/staging/comedi/drivers/addi-data/addi_amcc_s5933.h index f96b1289cdfc..3682503e3412 100644 --- a/drivers/staging/comedi/drivers/addi-data/addi_amcc_s5933.h +++ b/drivers/staging/comedi/drivers/addi-data/addi_amcc_s5933.h @@ -212,7 +212,7 @@ struct pcilst_struct { }; /* ptr to root list of all amcc devices */ -struct pcilst_struct *amcc_devices; +static struct pcilst_struct *amcc_devices; static const int i_ADDIDATADeviceID[] = { 0x15B8, 0x10E8 };