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.ma...@sartura.hr>
---
 drivers/serial/serial_msm.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/serial/serial_msm.c b/drivers/serial/serial_msm.c
index ac4280c6c4..8044d38518 100644
--- a/drivers/serial/serial_msm.c
+++ b/drivers/serial/serial_msm.c
@@ -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>
-- 
2.44.0

Reply via email to