Skip to contentSkip to conversation

drivers/tty/serial: make tegra_serial_handle_break() static

PATCH In review Alexander Kuleshov 2 participants 2 messages Nov 25, 2015 – Dec 13, 2015 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 drivers/tty/serial: make tegra_serial_handle_break() static

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.

---
Forgot Signed-off-by line

 drivers/tty/serial/of_serial.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/serial/of_serial.c +1 -1
index de50296..a35f694 100644
@@ -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

#1 lore raw
Quoted 8 lines · Alexander Kuleshov

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.

---
Forgot Signed-off-by line

 drivers/tty/serial/of_serial.c | 2 +-

This file is not in my tree anymore :(