diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2015-03-09 16:27:22 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-26 12:25:27 -0400 |
commit | df519e7bd33cf56d8a5ce357dfb94248d427b688 (patch) | |
tree | 34501d53c221f1c76e42b619bb5618b51d0ac6f8 /drivers/tty | |
parent | 470ca0de69feaba5df215ad804cec1859883a5ed (diff) |
serial: 8250_early: Remove setup_early_serial8250_console()
setup_earlycon() will now match and register the desired earlycon
from the param string (as if 'earlycon=...' had been set on the
command line). Use setup_earlycon() from existing arch call sites
which start an earlycon directly.
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/8250/8250_early.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/tty/serial/8250/8250_early.c b/drivers/tty/serial/8250/8250_early.c index d272139a5729..a2b4e58690ba 100644 --- a/drivers/tty/serial/8250/8250_early.c +++ b/drivers/tty/serial/8250/8250_early.c | |||
@@ -167,8 +167,3 @@ static int __init early_serial8250_setup(struct earlycon_device *device, | |||
167 | } | 167 | } |
168 | EARLYCON_DECLARE(uart8250, early_serial8250_setup); | 168 | EARLYCON_DECLARE(uart8250, early_serial8250_setup); |
169 | EARLYCON_DECLARE(uart, early_serial8250_setup); | 169 | EARLYCON_DECLARE(uart, early_serial8250_setup); |
170 | |||
171 | int __init setup_early_serial8250_console(char *cmdline) | ||
172 | { | ||
173 | return setup_earlycon(cmdline); | ||
174 | } | ||