Browse Source

serial: 8250: of: Make tegra_serial_handle_break() static

This function is not used outside the file, so it can be static.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Thierry Reding 9 years ago
parent
commit
28264eb6c3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/tty/serial/8250/8250_of.c

+ 1 - 1
drivers/tty/serial/8250/8250_of.c

@@ -29,7 +29,7 @@ struct of_serial_info {
 };
 
 #ifdef CONFIG_ARCH_TEGRA
-void tegra_serial_handle_break(struct uart_port *p)
+static void tegra_serial_handle_break(struct uart_port *p)
 {
 	unsigned int status, tmout = 10000;