From: Daniel Scheller Date: Sun, 20 Aug 2017 12:59:11 +0000 (-0400) Subject: media: stv0910: declare global list_head stvlist static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c16ad5de39843e9faa02270de08feeda05850caa;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git media: stv0910: declare global list_head stvlist static Cleans up smatch warning: symbol 'stvlist' was not declared. Should it be static? Patch originally submitted by Colin Ian King , remainder after the merge of all other stv0910 fixes. Cc: Colin Ian King Signed-off-by: Daniel Scheller Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb-frontends/stv0910.c b/drivers/media/dvb-frontends/stv0910.c index d0a8ed36b899..d1ae9553f74c 100644 --- a/drivers/media/dvb-frontends/stv0910.c +++ b/drivers/media/dvb-frontends/stv0910.c @@ -34,7 +34,7 @@ #define BER_SRC_S 0x20 #define BER_SRC_S2 0x20 -LIST_HEAD(stvlist); +static LIST_HEAD(stvlist); enum receive_mode { RCVMODE_NONE, RCVMODE_DVBS, RCVMODE_DVBS2, RCVMODE_AUTO };