]> git.baikalelectronics.ru Git - kernel.git/commit
serial: 8250_early: Remove early_device variable
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 9 Mar 2015 20:27:14 +0000 (16:27 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 15:16:20 +0000 (16:16 +0100)
commit2dfc8381d400fab1ba85b891939bafd33945d0c1
tree36776a399a5ae0a24e2b4c6c828ba723f7a1f148
parentf157d7cbcfb2d030a940a6b8642c26d57f7d0526
serial: 8250_early: Remove early_device variable

early_device was only required for serial8250_find_port_for_earlycon(),
which was replaced by extensible console matching.

Fixup early_serial8250_write() to get the earlycon_device * from
console->data (which is initialized by {of_}setup_earlycon()).

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/tty/serial/8250/8250_early.c