From 83d0c0a53eeac5e495d63e74b3191934015a5020 Mon Sep 17 00:00:00 2001 From: Flavio Ceolin Date: Wed, 3 Jun 2020 16:32:08 -0700 Subject: [PATCH] serial: uart_xlnx_ps: Fix duplicate initialization The uart configuration was initializing two fields of an union. Signed-off-by: Flavio Ceolin --- drivers/serial/uart_xlnx_ps.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/serial/uart_xlnx_ps.c b/drivers/serial/uart_xlnx_ps.c index 4b415b611d5..72bab1d1288 100644 --- a/drivers/serial/uart_xlnx_ps.c +++ b/drivers/serial/uart_xlnx_ps.c @@ -1198,7 +1198,6 @@ static struct uart_xlnx_ps_dev_data_t uart_xlnx_ps_dev_data_##port static struct uart_xlnx_ps_dev_config uart_xlnx_ps_dev_cfg_##port = { \ .uconf = { \ .regs = DT_INST_REG_ADDR(port), \ - .base = (uint8_t *)DT_INST_REG_ADDR(port), \ .sys_clk_freq = DT_INST_PROP(port, clock_frequency), \ UART_XLNX_PS_IRQ_CONF_FUNC_SET(port) \ }, \