of: earlycon: of_setup_earlycon() requires CONFIG_OF_EARLY_FLATTREE
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 16 Jan 2016 23:23:38 +0000 (15:23 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2016 06:07:37 +0000 (22:07 -0800)
commit8477614d9f7c5ce0e871e1aa200d9060a6b8749e
tree906f168a2d2a47120c9ccde6b705e9547021785b
parent6e9131cc43a672003a75483d9b9db5c51015ae5f
of: earlycon: of_setup_earlycon() requires CONFIG_OF_EARLY_FLATTREE

DT earlycon is only supported for CONFIG_OF_EARLY_FLATTREE=y; exclude
of_setup_earlycon() if not defined.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/earlycon.c