Re: [PATCH][next] gnss: make struct ubx_gserial_ops static

2018-07-02 Thread Johan Hovold
On Sat, Jun 30, 2018 at 12:22:46PM +0100, Colin King wrote: > From: Colin Ian King > > 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

[PATCH][next] gnss: make struct ubx_gserial_ops static

2018-06-30 Thread Colin King
From: Colin Ian King 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 --- drivers/gnss/ubx.c | 2 +- 1 file c