From 9f0f9b887565696821fe99a0753b61488ed43c02 Mon Sep 17 00:00:00 2001 From: Florian La Roche Date: Thu, 31 Aug 2023 08:06:58 +0200 Subject: [PATCH] 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 --- drivers/serial/uart_xlnx_ps.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/serial/uart_xlnx_ps.c b/drivers/serial/uart_xlnx_ps.c index bc22b888778..68b3a7baabd 100644 --- a/drivers/serial/uart_xlnx_ps.c +++ b/drivers/serial/uart_xlnx_ps.c @@ -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. *