]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit479e88c1af736fda26d35ea610a02a62be82ebda
treef67a57f0a7d8152957461434cf9c4169f48374f4
parentdd6f2588fefe816d6335557723794b2a294d77e0
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