summaryrefslogtreecommitdiffstats
path: root/include/linux/of_serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/of_serial.h')
-rw-r--r--include/linux/of_serial.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/of_serial.h b/include/linux/of_serial.h
new file mode 100644
index 00000000000..4a73ed80b4c
--- /dev/null
+++ b/include/linux/of_serial.h
@@ -0,0 +1,17 @@
+#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 */