From: Daniel Scheller <d.schel...@gmx.net> Cleans up smatch warning: symbol 'stvlist' was not declared. Should it be static?
Patch originally submitted by Colin Ian King <colin.k...@canonical.com>, remainder after the merge of all other stv0910 fixes. Cc: Colin Ian King <colin.k...@canonical.com> Signed-off-by: Daniel Scheller <d.schel...@gmx.net> --- drivers/media/dvb-frontends/stv0910.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }; -- 2.13.0