Skip to contentSkip to conversation

dvb-frontends/mxl5xx: declare LIST_HEAD(mxllist) static

PATCH New Daniel Scheller 1 participant 1 message Sep 1, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dvb-frontends/mxl5xx: declare LIST_HEAD(mxllist) static

From: Daniel Scheller <[email protected]>

Fixes one sparse warning:
mxl5xx.c:46:1: warning: symbol 'mxllist' was not declared. Should it be static?

---
 drivers/media/dvb-frontends/mxl5xx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/dvb-frontends/mxl5xx.c +1 -1
index 676c96c216c3..53064e11f5f1 100644
@@ -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;
Signature · 1 line
2.13.5