of: earlycon: Fixup earlycon console name and index
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 16 Jan 2016 23:23:41 +0000 (15:23 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2016 06:07:37 +0000 (22:07 -0800)
commit05d961320ba624c98b16d72b32f947307674b341
treef67a57f0a7d8152957461434cf9c4169f48374f4
parentcda64e68240265752c6db22a75f28707dfaf6563
of: earlycon: Fixup earlycon console name and index

Use the console name embedded in the OF earlycon table by the
OF_EARLYCON_DECLARE() macro to initialize the struct console 'name'
and 'index' fields.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/of/fdt.c
drivers/tty/serial/earlycon.c
include/linux/serial_core.h