summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/dvb-usb/gp8psk.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2017-01-12 16:32:29 +0100
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-02-03 17:23:34 +0100
commitd46e0a8bdb6ef581167bb85129febc007e53d205 (patch)
tree6b7f04346dbef2787ef287a8d3fa633812fbf4b6 /drivers/media/usb/dvb-usb/gp8psk.c
parent[media] tm6000: fix typo in parameter description (diff)
downloadlinux-d46e0a8bdb6ef581167bb85129febc007e53d205.tar.xz
linux-d46e0a8bdb6ef581167bb85129febc007e53d205.zip
[media] gp8psk: make local symbol gp8psk_fe_ops static
Fixes the following sparse warning: drivers/media/usb/dvb-usb/gp8psk.c:281:28: warning: symbol 'gp8psk_fe_ops' was not declared. Should it be static? Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb/gp8psk.c')
-rw-r--r--drivers/media/usb/dvb-usb/gp8psk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/dvb-usb/gp8psk.c b/drivers/media/usb/dvb-usb/gp8psk.c
index 26461f2ee428..37f062225ed2 100644
--- a/drivers/media/usb/dvb-usb/gp8psk.c
+++ b/drivers/media/usb/dvb-usb/gp8psk.c
@@ -278,7 +278,7 @@ static int gp8psk_fe_reload(void *priv)
return gp8psk_bcm4500_reload(d);
}
-const struct gp8psk_fe_ops gp8psk_fe_ops = {
+static const struct gp8psk_fe_ops gp8psk_fe_ops = {
.in = gp8psk_fe_in,
.out = gp8psk_fe_out,
.reload = gp8psk_fe_reload,