diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/console.h | 2 | ||||
-rw-r--r-- | include/linux/serial.h | 6 | ||||
-rw-r--r-- | include/linux/serial_8250.h | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/console.h b/include/linux/console.h index 62ef6e11d0d2..c44d3dfde7a5 100644 --- a/include/linux/console.h +++ b/include/linux/console.h | |||
@@ -99,6 +99,7 @@ struct console { | |||
99 | struct tty_driver *(*device)(struct console *, int *); | 99 | struct tty_driver *(*device)(struct console *, int *); |
100 | void (*unblank)(void); | 100 | void (*unblank)(void); |
101 | int (*setup)(struct console *, char *); | 101 | int (*setup)(struct console *, char *); |
102 | int (*early_setup)(void); | ||
102 | short flags; | 103 | short flags; |
103 | short index; | 104 | short index; |
104 | int cflag; | 105 | int cflag; |
@@ -107,6 +108,7 @@ struct console { | |||
107 | }; | 108 | }; |
108 | 109 | ||
109 | extern int add_preferred_console(char *name, int idx, char *options); | 110 | extern int add_preferred_console(char *name, int idx, char *options); |
111 | extern int update_console_cmdline(char *name, int idx, char *name_new, int idx_new, char *options); | ||
110 | extern void register_console(struct console *); | 112 | extern void register_console(struct console *); |
111 | extern int unregister_console(struct console *); | 113 | extern int unregister_console(struct console *); |
112 | extern struct console *console_drivers; | 114 | extern struct console *console_drivers; |
diff --git a/include/linux/serial.h b/include/linux/serial.h index 33fc8cb8ddfb..deb714314fb1 100644 --- a/include/linux/serial.h +++ b/include/linux/serial.h | |||
@@ -177,11 +177,5 @@ struct serial_icounter_struct { | |||
177 | #ifdef __KERNEL__ | 177 | #ifdef __KERNEL__ |
178 | #include <linux/compiler.h> | 178 | #include <linux/compiler.h> |
179 | 179 | ||
180 | /* Allow architectures to override entries in serial8250_ports[] at run time: */ | ||
181 | struct uart_port; /* forward declaration */ | ||
182 | extern int early_serial_setup(struct uart_port *port); | ||
183 | extern int early_serial_console_init(char *options); | ||
184 | extern int serial8250_start_console(struct uart_port *port, char *options); | ||
185 | |||
186 | #endif /* __KERNEL__ */ | 180 | #endif /* __KERNEL__ */ |
187 | #endif /* _LINUX_SERIAL_H */ | 181 | #endif /* _LINUX_SERIAL_H */ |
diff --git a/include/linux/serial_8250.h b/include/linux/serial_8250.h index 71310d80c09a..706ee9a4c80c 100644 --- a/include/linux/serial_8250.h +++ b/include/linux/serial_8250.h | |||
@@ -60,4 +60,8 @@ void serial8250_unregister_port(int line); | |||
60 | void serial8250_suspend_port(int line); | 60 | void serial8250_suspend_port(int line); |
61 | void serial8250_resume_port(int line); | 61 | void serial8250_resume_port(int line); |
62 | 62 | ||
63 | extern int serial8250_find_port(struct uart_port *p); | ||
64 | extern int serial8250_find_port_for_earlycon(void); | ||
65 | extern int setup_early_serial8250_console(char *cmdline); | ||
66 | |||
63 | #endif | 67 | #endif |