From: Daniel Scheller Date: Fri, 1 Sep 2017 19:43:45 +0000 (-0400) Subject: media: dvb-frontends/mxl5xx: declare LIST_HEAD(mxllist) static X-Git-Tag: microblaze-4.16-rc1~169^2~367 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=f71c43060aa534df9ae2a055be983bd7194c4a13;p=linux-2.6-microblaze.git media: dvb-frontends/mxl5xx: declare LIST_HEAD(mxllist) static Fixes one sparse warning: mxl5xx.c:46:1: warning: symbol 'mxllist' was not declared. Should it be static? Signed-off-by: Daniel Scheller Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb-frontends/mxl5xx.c b/drivers/media/dvb-frontends/mxl5xx.c index 676c96c216c3..53064e11f5f1 100644 --- a/drivers/media/dvb-frontends/mxl5xx.c +++ b/drivers/media/dvb-frontends/mxl5xx.c @@ -43,7 +43,7 @@ #define BYTE2(v) ((v >> 16) & 0xff) #define BYTE3(v) ((v >> 24) & 0xff) -LIST_HEAD(mxllist); +static LIST_HEAD(mxllist); struct mxl_base { struct list_head mxllist;