Skip to content

Commit 9f0f9b8

Browse files
larochecarlescufi
authored andcommitted
drivers/serial/uart_xlnx_ps.c: uart_xlnx_ps_driver_api is defined twice
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]>
1 parent 2530b85 commit 9f0f9b8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/serial/uart_xlnx_ps.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,6 @@ struct uart_xlnx_ps_dev_data_t {
163163
#endif
164164
};
165165

166-
static const struct uart_driver_api uart_xlnx_ps_driver_api;
167-
168166
/**
169167
* @brief Disables the UART's RX and TX function.
170168
*

0 commit comments

Comments
 (0)