aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/timbuart.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-08-08 04:33:27 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-12 14:35:31 -0400
commitedd173da2c9ce10ada0939e74ca579f9bef92337 (patch)
treec439936df5a998a22c33ecff203b8699f4e63b2b /drivers/tty/serial/timbuart.c
parent6602769ba92d9ed310af01772800ca4d0b1fff77 (diff)
serial: timbuart: Staticize local symbols
These local symbols are used only in this file. Fix the following sparse warnings: drivers/tty/serial/timbuart.c:165:6: warning: symbol 'timbuart_handle_rx_port' was not declared. Should it be static? drivers/tty/serial/timbuart.c:187:6: warning: symbol 'timbuart_tasklet' was not declared. Should it be static? Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/timbuart.c')
-rw-r--r--drivers/tty/serial/timbuart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/serial/timbuart.c b/drivers/tty/serial/timbuart.c
index 6818410a2bea..f87097acd8ab 100644
--- a/drivers/tty/serial/timbuart.c
+++ b/drivers/tty/serial/timbuart.c
@@ -162,7 +162,7 @@ static void timbuart_handle_tx_port(struct uart_port *port, u32 isr, u32 *ier)
162 dev_dbg(port->dev, "%s - leaving\n", __func__); 162 dev_dbg(port->dev, "%s - leaving\n", __func__);
163} 163}
164 164
165void timbuart_handle_rx_port(struct uart_port *port, u32 isr, u32 *ier) 165static void timbuart_handle_rx_port(struct uart_port *port, u32 isr, u32 *ier)
166{ 166{
167 if (isr & RXFLAGS) { 167 if (isr & RXFLAGS) {
168 /* Some RX status is set */ 168 /* Some RX status is set */
@@ -184,7 +184,7 @@ void timbuart_handle_rx_port(struct uart_port *port, u32 isr, u32 *ier)
184 dev_dbg(port->dev, "%s - leaving\n", __func__); 184 dev_dbg(port->dev, "%s - leaving\n", __func__);
185} 185}
186 186
187void timbuart_tasklet(unsigned long arg) 187static void timbuart_tasklet(unsigned long arg)
188{ 188{
189 struct timbuart_port *uart = (struct timbuart_port *)arg; 189 struct timbuart_port *uart = (struct timbuart_port *)arg;
190 u32 isr, ier = 0; 190 u32 isr, ier = 0;