All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] drivers/tty/serial: make tegra_serial_handle_break() static
@ 2015-11-25 17:50 Alexander Kuleshov
  2015-12-13  6:51 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Kuleshov @ 2015-11-25 17:50 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Jiri Slaby, linux-serial, linux-kernel, 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.

Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
---
Forgot Signed-off-by line

 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] drivers/tty/serial: make tegra_serial_handle_break() static
  2015-11-25 17:50 [PATCH v2] drivers/tty/serial: make tegra_serial_handle_break() static Alexander Kuleshov
@ 2015-12-13  6:51 ` Greg Kroah-Hartman
  0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2015-12-13  6:51 UTC (permalink / raw)
  To: Alexander Kuleshov; +Cc: Jiri Slaby, linux-serial, linux-kernel

On Wed, Nov 25, 2015 at 11:50:03PM +0600, Alexander Kuleshov wrote:
> 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.
> 
> Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
> ---
> Forgot Signed-off-by line
> 
>  drivers/tty/serial/of_serial.c | 2 +-

This file is not in my tree anymore :(

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-12-13  6:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-25 17:50 [PATCH v2] drivers/tty/serial: make tegra_serial_handle_break() static Alexander Kuleshov
2015-12-13  6:51 ` Greg Kroah-Hartman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.