summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial
diff options
context:
space:
mode:
authorThierry Reding2016-04-28 14:47:24 +0200
committerGreg Kroah-Hartman2016-04-30 18:26:55 +0200
commit28264eb6c36e267aad0e6cfb353ad1e7920ac87b (patch)
treeea16bb934bd0910f627e888162c8514ec970a20a /drivers/tty/serial
parentserial: omap8250: Terminate rx dma only for flushes (diff)
downloadkernel-qcow2-linux-28264eb6c36e267aad0e6cfb353ad1e7920ac87b.tar.gz
kernel-qcow2-linux-28264eb6c36e267aad0e6cfb353ad1e7920ac87b.tar.xz
kernel-qcow2-linux-28264eb6c36e267aad0e6cfb353ad1e7920ac87b.zip
serial: 8250: of: Make tegra_serial_handle_break() static
This function is not used outside the file, so it can be static. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r--drivers/tty/serial/8250/8250_of.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/8250/8250_of.c b/drivers/tty/serial/8250/8250_of.c
index c7ed3d2bc8b2..38963d7bcf84 100644
--- a/drivers/tty/serial/8250/8250_of.c
+++ b/drivers/tty/serial/8250/8250_of.c
@@ -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;