Skip to content

Commit 8fddea9

Browse files
HrMitrevMaureenHelm
authored andcommitted
drivers: uart_mux: Fix build issue
The build failed when CONFIG_GSM_MUX=y Signed-off-by: Hristo Mitrev <[email protected]>
1 parent c3ae364 commit 8fddea9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/console/uart_mux.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ struct uart_mux {
7171
.rx_ringbuf = &uart_rx_ringbuf_##x, \
7272
}
7373

74-
LISTIFY(CONFIG_UART_MUX_REAL_DEVICE_COUNT, DEFINE_UART_MUX, (;), _)
74+
LISTIFY(CONFIG_UART_MUX_REAL_DEVICE_COUNT, DEFINE_UART_MUX, (;), _);
7575

7676
extern struct uart_mux __uart_mux_start[];
7777
extern struct uart_mux __uart_mux_end[];
@@ -890,9 +890,9 @@ void uart_mux_foreach(uart_mux_cb_t cb, void *user_data)
890890
CONFIG_CONSOLE_INIT_PRIORITY, \
891891
&uart_mux_driver_api)
892892

893-
LISTIFY(CONFIG_UART_MUX_DEVICE_COUNT, DEFINE_UART_MUX_CFG_DATA, (;), _)
894-
LISTIFY(CONFIG_UART_MUX_DEVICE_COUNT, DEFINE_UART_MUX_DEV_DATA, (;), _)
895-
LISTIFY(CONFIG_UART_MUX_DEVICE_COUNT, DEFINE_UART_MUX_DEVICE, (;), _)
893+
LISTIFY(CONFIG_UART_MUX_DEVICE_COUNT, DEFINE_UART_MUX_CFG_DATA, (;), _);
894+
LISTIFY(CONFIG_UART_MUX_DEVICE_COUNT, DEFINE_UART_MUX_DEV_DATA, (;), _);
895+
LISTIFY(CONFIG_UART_MUX_DEVICE_COUNT, DEFINE_UART_MUX_DEVICE, (;), _);
896896

897897
static int init_uart_mux(const struct device *dev)
898898
{

0 commit comments

Comments
 (0)