diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-01-31 12:01:53 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-05 11:13:16 -0800 |
commit | f26402e81743d06b938a388925904bd47763277a (patch) | |
tree | a22bc6755dc7bb53ebe908d4b74a3e553ec4dc66 /include/linux/of_serial.h | |
parent | 80cace72566633bb99da1f022f71d3dac3498b02 (diff) | |
download | lwn-f26402e81743d06b938a388925904bd47763277a.tar.gz lwn-f26402e81743d06b938a388925904bd47763277a.zip |
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: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/of_serial.h')
-rw-r--r-- | include/linux/of_serial.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/linux/of_serial.h b/include/linux/of_serial.h deleted file mode 100644 index 4a73ed80b4c0..000000000000 --- a/include/linux/of_serial.h +++ /dev/null @@ -1,17 +0,0 @@ -#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 */ |