[PATCH v2 1/5] console: move console_init() out of tty_io.c

2017-04-01 Thread Nicolas Pitre
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. Signed-off-by: Nicolas Pitre --- drivers/tty/tty_io.c| 24 include/linux/console.h |

[PATCH v2 1/5] console: move console_init() out of tty_io.c

2017-04-01 Thread Nicolas Pitre
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. Signed-off-by: Nicolas Pitre --- drivers/tty/tty_io.c| 24 include/linux/console.h | 2 ++