]> asedeno.scripts.mit.edu Git - linux.git/commit
serial: sirf: make register info static
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 9 Oct 2019 13:53:56 +0000 (14:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Oct 2019 12:29:44 +0000 (14:29 +0200)
commit619cbcaedc8eeb923cf344f72f27ebd431b5a44f
treec8c2fef27c813bf59eed818e25f44ea5de1976b1
parent8b7103f31950443fd5727d7d80d3c65416b5a390
serial: sirf: make register info static

The sirfsoc_usp and sirfsoc_uart objects are not
used outside of the drivers/tty/serial/sirfsoc_uart.o
so make them static. Fixes following sparse warnings:

drivers/tty/serial/sirfsoc_uart.h:123:30: warning: symbol 'sirfsoc_usp' was not declared. Should it be static?
drivers/tty/serial/sirfsoc_uart.h:189:30: warning: symbol 'sirfsoc_uart' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Link: https://lore.kernel.org/r/20191009135356.11180-1-ben.dooks@codethink.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sirfsoc_uart.h