From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Kuleshov Subject: [PATCH] drivers/tty/serial: make tegra_serial_handle_break() static Date: Wed, 25 Nov 2015 17:27:40 +0600 Message-ID: <1448450860-17724-1-git-send-email-kuleshovmail@gmail.com> Return-path: Sender: linux-kernel-owner@vger.kernel.org To: Greg Kroah-Hartman Cc: Jiri Slaby , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Alexander Kuleshov List-Id: linux-serial@vger.kernel.org There are no callers of the tegra_serial_handle_break() function outside of drivers/tty/serial/of_serial.c. So let's make it static. --- drivers/tty/serial/of_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/of_serial.c b/drivers/tty/serial/of_serial.c index de50296..a35f694 100644 --- a/drivers/tty/serial/of_serial.c +++ b/drivers/tty/serial/of_serial.c @@ -34,7 +34,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; -- 2.5.0