diff --git a/drivers/tty/serial/msm_geni_serial.c b/drivers/tty/serial/msm_geni_serial.c index 00924b80b468..10b87f74ea27 100644 --- a/drivers/tty/serial/msm_geni_serial.c +++ b/drivers/tty/serial/msm_geni_serial.c @@ -3321,7 +3321,7 @@ static int msm_geni_serial_probe(struct platform_device *pdev) * Remove proxy vote from QUP core which was kept from common driver * probe on behalf of earlycon */ - if (uart_console(uport)) + if (dev_port->is_console) geni_se_remove_earlycon_icc_vote(dev_port->wrapper_dev); if (strcmp(id->compatible, "qcom,msm-geni-console") == 0)