]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
media: dvb-frontends/mxl5xx: declare LIST_HEAD(mxllist) static
authorDaniel Scheller <d.scheller@gmx.net>
Fri, 1 Sep 2017 19:43:45 +0000 (15:43 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 23 Sep 2017 12:28:46 +0000 (08:28 -0400)
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>
drivers/media/dvb-frontends/mxl5xx.c

index 676c96c216c30defb99ae8378d1d2d33710312de..53064e11f5f1ea9017816e953fbad19d3a9e60fd 100644 (file)
@@ -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;