tty: serial: 8250: omap: add ttySx console if the user didn't
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Thu, 18 Dec 2014 17:47:12 +0000 (18:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jan 2015 22:10:46 +0000 (14:10 -0800)
commit00648d0282dcca1da453c0b20d27e24bf901a854
tree4ddbba3cd0ef465d22b2cb58ab6535597aba6402
parent201d8975ae5ada760bf29edd837da039f494709a
tty: serial: 8250: omap: add ttySx console if the user didn't

This patch invokes add_preferred_console() with ttyS based on ttyO
arguments if the user didn't specify it on its own. This ensures that
the user will see the kernel booting on his serial console in case he
forgot to update the command line.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_omap.c
drivers/tty/serial/8250/Kconfig