]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitd0d654ce53ab34f9306630ebcbfc477a994ea662
tree36776a399a5ae0a24e2b4c6c828ba723f7a1f148
parent1cfe42b7fd299723b521b5b4bd8019a611366c5e
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