From: Michal Simek Date: Wed, 25 Apr 2018 13:48:42 +0000 (+0200) Subject: earlycon: Remove hardcoded port->uartclk initialization in of_setup_earlycon X-Git-Tag: v4.18-rc1~133^2~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=182ead3e418a;p=thirdparty%2Flinux.git earlycon: Remove hardcoded port->uartclk initialization in of_setup_earlycon There is no reason to initialize uartclk to BASE_BAUD * 16 for DT based systems. Signed-off-by: Michal Simek Tested-by: Matt Redfearn Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/earlycon.c b/drivers/tty/serial/earlycon.c index 149d0d0da65e7..c14873b678034 100644 --- a/drivers/tty/serial/earlycon.c +++ b/drivers/tty/serial/earlycon.c @@ -246,7 +246,6 @@ int __init of_setup_earlycon(const struct earlycon_id *match, return -ENXIO; } port->mapbase = addr; - port->uartclk = BASE_BAUD * 16; val = of_get_flat_dt_prop(node, "reg-offset", NULL); if (val)