console: move console_init() out of tty_io.c
All the console driver handling code lives in printk.c. Move console_init() there as well so console support can still be used when the TTY code is configured out. No logical changes from this patch. Signed-off-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
72f1b85a04
commit
0c688614dc
@@ -212,4 +212,6 @@ extern bool vgacon_text_force(void);
|
||||
static inline bool vgacon_text_force(void) { return false; }
|
||||
#endif
|
||||
|
||||
extern void console_init(void);
|
||||
|
||||
#endif /* _LINUX_CONSOLE_H */
|
||||
|
Reference in New Issue
Block a user