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:
parent
a1b6dd51d0
commit
83d0c0a53e
1 changed files with 0 additions and 1 deletions
|
@ -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 = { \
|
static struct uart_xlnx_ps_dev_config uart_xlnx_ps_dev_cfg_##port = { \
|
||||||
.uconf = { \
|
.uconf = { \
|
||||||
.regs = DT_INST_REG_ADDR(port), \
|
.regs = DT_INST_REG_ADDR(port), \
|
||||||
.base = (uint8_t *)DT_INST_REG_ADDR(port), \
|
|
||||||
.sys_clk_freq = DT_INST_PROP(port, clock_frequency), \
|
.sys_clk_freq = DT_INST_PROP(port, clock_frequency), \
|
||||||
UART_XLNX_PS_IRQ_CONF_FUNC_SET(port) \
|
UART_XLNX_PS_IRQ_CONF_FUNC_SET(port) \
|
||||||
}, \
|
}, \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue