serial: 8250: of: Make tegra_serial_handle_break() static
Subsystems (2)
PATCH 1/1 serial: 8250: of: Make tegra_serial_handle_break() static
From: Thierry Reding <[email protected]>
This function is not used outside the file, so it can be static.
Signed-off-by Thierry Reding <[email protected]>
--- drivers/tty/serial/8250/8250_of.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/serial/8250/8250_of.c +1 -1
@@ -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 ;
Signature · 1 line
2.8.0