diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2016-01-17 02:23:47 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-07 09:07:37 +0300 |
commit | dc6b576b283e7bdff552af9c0ce66e121c6b4887 (patch) | |
tree | c059548c6e2523588e13a429f4f904d5c6e0d40a /drivers/of/fdt.c | |
parent | b969398490d940a98cec0aefcafb9877dc122182 (diff) | |
download | linux-dc6b576b283e7bdff552af9c0ce66e121c6b4887.tar.xz |
serial: 8250_early: Use port->regshift
earlycon initializes struct uart_port::regshift to the correct
value for UPIO_MEM32 already. Use the port field rather than
hard-coded value.
This enables broader support for various i/o access methods in
8250 earlycon (eg., omap8250 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>
Diffstat (limited to 'drivers/of/fdt.c')
0 files changed, 0 insertions, 0 deletions