Skip to content

Commit dc242df

Browse files
committed
serial: xilinx: uartlite: switch to DT_INST_IRQN_BY_IDX
Use DT_*IRQN helper to get the IRQ number on systems with multi-level interrupt configuration instead of IRQ number on particular interrupt controller. Signed-off-by: Michal Simek <[email protected]> Link: zephyrproject-rtos/zephyr#80059 State: upstream (7c809b99450c28d599ee62aacdbf43f9050f27e7)
1 parent 98bc424 commit dc242df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/serial/uart_xlnx_uartlite.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ static const struct uart_driver_api xlnx_uartlite_driver_api = {
377377
#ifdef CONFIG_UART_INTERRUPT_DRIVEN
378378
#define XLNX_UARTLITE_IRQ_INIT(n, i) \
379379
do { \
380-
IRQ_CONNECT(DT_INST_IRQ_BY_IDX(n, i, irq), \
380+
IRQ_CONNECT(DT_INST_IRQN_BY_IDX(n, i), \
381381
DT_INST_IRQ_BY_IDX(n, i, priority), \
382382
xlnx_uartlite_isr, \
383383
DEVICE_DT_INST_GET(n), 0); \

0 commit comments

Comments
 (0)