serial: 8250: of: Make tegra_serial_handle_break() static
authorThierry Reding <treding@nvidia.com>
Thu, 28 Apr 2016 12:47:24 +0000 (14:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Apr 2016 16:26:55 +0000 (09:26 -0700)
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>
drivers/tty/serial/8250/8250_of.c

index c7ed3d2bc8b22bac300e0b28e2657ff758dd07b2..38963d7bcf8410520916bdc5bcfbd28de31f958a 100644 (file)
@@ -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;