Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <d.scheller@gmx.net>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>

authored by

Daniel Scheller and committed by
Mauro Carvalho Chehab
f71c4306 bab4cb30

+1 -1
+1 -1
drivers/media/dvb-frontends/mxl5xx.c
··· 43 43 #define BYTE2(v) ((v >> 16) & 0xff) 44 44 #define BYTE3(v) ((v >> 24) & 0xff) 45 45 46 - LIST_HEAD(mxllist); 46 + static LIST_HEAD(mxllist); 47 47 48 48 struct mxl_base { 49 49 struct list_head mxllist;