diff options
author | 2016-01-16 15:23:41 -0800 | |
---|---|---|
committer | 2016-02-06 22:07:37 -0800 | |
commit | 05d961320ba624c98b16d72b32f947307674b341 (patch) | |
tree | f67a57f0a7d8152957461434cf9c4169f48374f4 /drivers/of/fdt.c | |
parent | serial: earlycon: Fixup earlycon console name and index (diff) | |
download | linux-05d961320ba624c98b16d72b32f947307674b341.tar.gz linux-05d961320ba624c98b16d72b32f947307674b341.tar.bz2 linux-05d961320ba624c98b16d72b32f947307674b341.zip |
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>
Diffstat (limited to 'drivers/of/fdt.c')
-rw-r--r-- | drivers/of/fdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index 168611867611..ec1459517de6 100644 --- a/drivers/of/fdt.c +++ b/drivers/of/fdt.c @@ -838,7 +838,7 @@ static int __init early_init_dt_scan_chosen_serial(void) if (addr == OF_BAD_ADDR) return -ENXIO; - of_setup_earlycon(addr, match->setup); + of_setup_earlycon(addr, match); return 0; } return -ENODEV; |