diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-08-08 04:41:43 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-12 14:32:48 -0400 |
commit | ada1f443d11464468a06646939bb1aed60f5f2dd (patch) | |
tree | 4e90d1117440176a4b261ed4f93e3cf89a67f5b5 | |
parent | 5df831117b85a08e7aa469dda97d2ee02181d083 (diff) |
serial: sirf: Staticize local symbols
These local symbols are used only in this file.
Fix the following sparse warnings:
drivers/tty/serial/sirfsoc_uart.c:147:6: warning: symbol 'sirfsoc_uart_start_tx' was not declared. Should it be static?
drivers/tty/serial/sirfsoc_uart.c:636:5: warning: symbol 'sirfsoc_uart_probe' was not declared. Should it be static?
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/tty/serial/sirfsoc_uart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/serial/sirfsoc_uart.c b/drivers/tty/serial/sirfsoc_uart.c index f8a4d34ce382..d28f38b83332 100644 --- a/drivers/tty/serial/sirfsoc_uart.c +++ b/drivers/tty/serial/sirfsoc_uart.c | |||
@@ -157,7 +157,7 @@ static void sirfsoc_uart_stop_tx(struct uart_port *port) | |||
157 | 157 | ||
158 | } | 158 | } |
159 | 159 | ||
160 | void sirfsoc_uart_start_tx(struct uart_port *port) | 160 | static void sirfsoc_uart_start_tx(struct uart_port *port) |
161 | { | 161 | { |
162 | struct sirfsoc_uart_port *sirfport = to_sirfport(port); | 162 | struct sirfsoc_uart_port *sirfport = to_sirfport(port); |
163 | struct sirfsoc_register *ureg = &sirfport->uart_reg->uart_reg; | 163 | struct sirfsoc_register *ureg = &sirfport->uart_reg->uart_reg; |
@@ -829,7 +829,7 @@ static struct of_device_id sirfsoc_uart_ids[] = { | |||
829 | }; | 829 | }; |
830 | MODULE_DEVICE_TABLE(of, sirfsoc_uart_ids); | 830 | MODULE_DEVICE_TABLE(of, sirfsoc_uart_ids); |
831 | 831 | ||
832 | int sirfsoc_uart_probe(struct platform_device *pdev) | 832 | static int sirfsoc_uart_probe(struct platform_device *pdev) |
833 | { | 833 | { |
834 | struct sirfsoc_uart_port *sirfport; | 834 | struct sirfsoc_uart_port *sirfport; |
835 | struct uart_port *port; | 835 | struct uart_port *port; |