diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-01-31 14:01:53 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-05 14:13:16 -0500 |
commit | f26402e81743d06b938a388925904bd47763277a (patch) | |
tree | a22bc6755dc7bb53ebe908d4b74a3e553ec4dc66 /drivers/tty | |
parent | 80cace72566633bb99da1f022f71d3dac3498b02 (diff) |
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 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/of_serial.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/tty/serial/of_serial.c b/drivers/tty/serial/of_serial.c index e7cae1c2d7d2..d5874605682b 100644 --- a/drivers/tty/serial/of_serial.c +++ b/drivers/tty/serial/of_serial.c | |||
@@ -18,7 +18,6 @@ | |||
18 | #include <linux/serial_reg.h> | 18 | #include <linux/serial_reg.h> |
19 | #include <linux/of_address.h> | 19 | #include <linux/of_address.h> |
20 | #include <linux/of_irq.h> | 20 | #include <linux/of_irq.h> |
21 | #include <linux/of_serial.h> | ||
22 | #include <linux/of_platform.h> | 21 | #include <linux/of_platform.h> |
23 | #include <linux/nwpserial.h> | 22 | #include <linux/nwpserial.h> |
24 | #include <linux/clk.h> | 23 | #include <linux/clk.h> |
@@ -45,8 +44,10 @@ void tegra_serial_handle_break(struct uart_port *p) | |||
45 | udelay(1); | 44 | udelay(1); |
46 | } while (1); | 45 | } while (1); |
47 | } | 46 | } |
48 | /* FIXME remove this export when tegra finishes conversion to open firmware */ | 47 | #else |
49 | EXPORT_SYMBOL_GPL(tegra_serial_handle_break); | 48 | static inline void tegra_serial_handle_break(struct uart_port *port) |
49 | { | ||
50 | } | ||
50 | #endif | 51 | #endif |
51 | 52 | ||
52 | /* | 53 | /* |