gnss: ubx: make struct ubx_gserial_ops static
authorColin Ian King <colin.king@canonical.com>
Mon, 16 Jul 2018 10:42:02 +0000 (12:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Jul 2018 10:48:07 +0000 (12:48 +0200)
commit55570f1a441787f67efe1aef3b5deae431ca7ee9
tree61b521fbc7c92fe54483bc2147a3565c67f1bb3b
parent8d62fe9499b8eb027837892aad8fb52d83a52a41
gnss: ubx: make struct ubx_gserial_ops static

The structure ubx_gserial_ops is local to the source and does not need
to be in global scope, so make it static.

Cleans up sparse warning:
symbol 'ubx_gserial_ops' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gnss/ubx.c