diff options
author | Nicolas Pitre | 2017-04-12 18:37:14 -0400 |
---|---|---|
committer | Greg Kroah-Hartman | 2017-04-18 18:01:52 +0200 |
commit | 0c688614dcce84dfdbb305fd1c399c06cecea745 (patch) | |
tree | 5d96d52fe1b750645adb8c9b433bb98e6c801015 /include/linux/console.h | |
parent | 72f1b85a045e3db4d21e9531bdc605157fa224a7 (diff) |
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>
Diffstat (limited to 'include/linux/console.h')
-rw-r--r-- | include/linux/console.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/console.h b/include/linux/console.h index 5949d1855589..b8920a031a3e 100644 --- a/include/linux/console.h +++ b/include/linux/console.h @@ -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 */ |