Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1277266 > unrolled thread

[PATCH] drivers/tty/serial: make tegra_serial_handle_break() static

Started byAlexander Kuleshov <kuleshovmail@gmail.com>
First post2015-11-25 12:40 +0100
Last post2015-11-25 12:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] drivers/tty/serial: make tegra_serial_handle_break() static Alexander Kuleshov <kuleshovmail@gmail.com> - 2015-11-25 12:40 +0100

#1277266 — [PATCH] drivers/tty/serial: make tegra_serial_handle_break() static

FromAlexander Kuleshov <kuleshovmail@gmail.com>
Date2015-11-25 12:40 +0100
Subject[PATCH] drivers/tty/serial: make tegra_serial_handle_break() static
Message-ID<qyGAz-5Fi-41@gated-at.bofh.it>
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web