diff options
author | Daniel Scheller <d.scheller@gmx.net> | 2017-08-20 08:59:11 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-08-20 10:15:34 -0400 |
commit | c16ad5de39843e9faa02270de08feeda05850caa (patch) | |
tree | 343e6ab941ddcfb8f139e459c44e1ee9432122c6 | |
parent | 6d741bfed5ed06ed42a16d30f1ed7afdcaf7f092 (diff) | |
download | linux-stable-c16ad5de39843e9faa02270de08feeda05850caa.tar.gz linux-stable-c16ad5de39843e9faa02270de08feeda05850caa.tar.bz2 linux-stable-c16ad5de39843e9faa02270de08feeda05850caa.zip |
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 <colin.king@canonical.com>,
remainder after the merge of all other stv0910 fixes.
Cc: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
-rw-r--r-- | drivers/media/dvb-frontends/stv0910.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 }; |