From: Wei Yongjun Date: Thu, 12 Jan 2017 15:32:29 +0000 (-0200) Subject: [media] gp8psk: make local symbol gp8psk_fe_ops static X-Git-Tag: v4.11-rc1~132^2~37 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d46e0a8bdb6ef581167bb85129febc007e53d205;p=karo-tx-linux.git [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 Signed-off-by: Mauro Carvalho Chehab --- 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,