Skip to content

Commit

Permalink
drivers/serial/uart_xlnx_ps.c: uart_xlnx_ps_driver_api is defined twice
Browse files Browse the repository at this point in the history
The var "uart_xlnx_ps_driver_api" is defined twice in the source,
so remove one definition of it.

Signed-off-by: Florian La Roche <[email protected]>
  • Loading branch information
laroche authored and carlescufi committed Aug 31, 2023
1 parent 2530b85 commit 9f0f9b8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/serial/uart_xlnx_ps.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@ struct uart_xlnx_ps_dev_data_t {
#endif
};

static const struct uart_driver_api uart_xlnx_ps_driver_api;

/**
* @brief Disables the UART's RX and TX function.
*
Expand Down

0 comments on commit 9f0f9b8

Please sign in to comment.