[media] gp8psk: make local symbol gp8psk_fe_ops static
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 12 Jan 2017 15:32:29 +0000 (13:32 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 3 Feb 2017 16:23:34 +0000 (14:23 -0200)
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>
drivers/media/usb/dvb-usb/gp8psk.c

index 26461f2ee42895bdd3e57ac0520b519b57431e4e..37f062225ed213a00f54ed6dc551971a41c8f5c5 100644 (file)
@@ -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,