summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2017-01-12 13:32:29 -0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-02-03 14:23:34 -0200
commitd46e0a8bdb6ef581167bb85129febc007e53d205 (patch)
tree6b7f04346dbef2787ef287a8d3fa633812fbf4b6 /drivers/media
parent634b2b5c65c8eafbd404ac5bc7ac710dcd1ca4eb (diff)
[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')
-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,