]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
serial: msm_serial: remove .clk_rate from debug UART
authorRobert Marko <robert.marko@sartura.hr>
Mon, 15 Apr 2024 10:49:26 +0000 (12:49 +0200)
committerCaleb Connolly <caleb.connolly@linaro.org>
Tue, 23 Apr 2024 11:29:14 +0000 (13:29 +0200)
MSM serial in DEBUG UART mode is trying to set .clk_rate, but the
msm_serial_data structure does not have such property at all, so lets
remove it as otherwise it will fail compiling.

Fixes: 90023bdfe979 ("serial: msm: add debug UART")
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
drivers/serial/serial_msm.c

index ac4280c6c4c2e8b009d4bbb09671026106e521c4..8044d38518db993866e44103fad99d51c779f613 100644 (file)
@@ -242,7 +242,6 @@ U_BOOT_DRIVER(serial_msm) = {
 
 static struct msm_serial_data init_serial_data = {
        .base = CONFIG_VAL(DEBUG_UART_BASE),
-       .clk_rate = 7372800,
 };
 
 #include <debug_uart.h>