serial: 8250_ingenic: allow to be independent of SERIAL_8250_CONSOLE
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 23 Oct 2015 13:31:16 +0000 (22:31 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Dec 2015 03:59:48 +0000 (19:59 -0800)
commit4828d5c30a2e1d300f7ca7c15868cead2ef7fb29
tree6b8d8e5ef0fcb1bb11e259a3892cfd507e5518ec
parentfbccaca9bd099e3b8bc6dfabb8dc6f57ad83d1a8
serial: 8250_ingenic: allow to be independent of SERIAL_8250_CONSOLE

This UART driver should not depend on the console.  They should be
orthogonal.

Surround the earlycon code with CONFIG_SERIAL_EARLYCON conditional
and rip off "depends on SERIAL_8250_CONSOLE".

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_ingenic.c
drivers/tty/serial/8250/Kconfig