serial: uart_xlnx_ps: Fix duplicate initialization

The uart configuration was initializing two fields of an union.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
Flavio Ceolin 2020-06-03 16:32:08 -07:00 committed by Carles Cufí
commit 83d0c0a53e

View file

@ -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) \
}, \