Merge tag 'locks-v4.2-1' of git://git.samba.org/jlayton/linux
[firefly-linux-kernel-4.4.55.git] / include / linux / serial_8250.h
index 78097e7a330a1984942796a4ecf9a156b93f5427..ba82c07feb95cbe8eb9e2362f49e4eadc5fcf04d 100644 (file)
@@ -12,6 +12,7 @@
 #define _LINUX_SERIAL_8250_H
 
 #include <linux/serial_core.h>
+#include <linux/serial_reg.h>
 #include <linux/platform_device.h>
 
 /*
@@ -137,6 +138,8 @@ extern int early_serial_setup(struct uart_port *port);
 
 extern unsigned int serial8250_early_in(struct uart_port *port, int offset);
 extern void serial8250_early_out(struct uart_port *port, int offset, int value);
+extern int early_serial8250_setup(struct earlycon_device *device,
+                                        const char *options);
 extern void serial8250_do_set_termios(struct uart_port *port,
                struct ktermios *termios, struct ktermios *old);
 extern int serial8250_do_startup(struct uart_port *port);