Commit f26402e8 authored by Stephen Warren's avatar Stephen Warren Committed by Greg Kroah-Hartman

tty: of_serial: unexport tegra_serial_handle_break

Tegra is only booted through device-tree now; there are no board files
left that use this function. Hence, don't export it. Move the static
inline definition into of_serial.c, so we can delete of_serial.h too.
Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 80cace72
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include <linux/serial_reg.h> #include <linux/serial_reg.h>
#include <linux/of_address.h> #include <linux/of_address.h>
#include <linux/of_irq.h> #include <linux/of_irq.h>
#include <linux/of_serial.h>
#include <linux/of_platform.h> #include <linux/of_platform.h>
#include <linux/nwpserial.h> #include <linux/nwpserial.h>
#include <linux/clk.h> #include <linux/clk.h>
...@@ -45,8 +44,10 @@ void tegra_serial_handle_break(struct uart_port *p) ...@@ -45,8 +44,10 @@ void tegra_serial_handle_break(struct uart_port *p)
udelay(1); udelay(1);
} while (1); } while (1);
} }
/* FIXME remove this export when tegra finishes conversion to open firmware */ #else
EXPORT_SYMBOL_GPL(tegra_serial_handle_break); static inline void tegra_serial_handle_break(struct uart_port *port)
{
}
#endif #endif
/* /*
......
#ifndef __LINUX_OF_SERIAL_H
#define __LINUX_OF_SERIAL_H
/*
* FIXME remove this file when tegra finishes conversion to open firmware,
* expectation is that all quirks will then be self-contained in
* drivers/tty/serial/of_serial.c.
*/
#ifdef CONFIG_ARCH_TEGRA
extern void tegra_serial_handle_break(struct uart_port *port);
#else
static inline void tegra_serial_handle_break(struct uart_port *port)
{
}
#endif
#endif /* __LINUX_OF_SERIAL */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment