serial: fsl_lpuart: Fix earlycon support
authorPeter Hurley <peter@hurleysoftware.com>
Tue, 20 Oct 2015 13:55:21 +0000 (09:55 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Nov 2015 00:19:54 +0000 (16:19 -0800)
commitbec8bf61dc911ebe04a7997db2c44ed51d8ade9d
tree0e08f7e65b45246db8a13685b0e16360025ae1b9
parent83f7fa6c2976a9db9edf3abf7749176ca36fb4cc
serial: fsl_lpuart: Fix earlycon support

Earlycon support for Freescale lpuart should only be enabled when
console support is enabled.

Fixes: 1d59b382f1c4 ("serial: fsl_lpuart: add earlycon support")
Acked-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig