drivers: can: mcux_flexcan: fix irq connect
IRQ_CONNECT macro last argument is architecture-specific flag, but now there is instance id at this place. This PR set architecture-specific flag to 0. Signed-off-by: Grixa Yrev <GrixaYrev@yandex.ru>
This commit is contained in:
parent
28ba3b5e50
commit
27ac1cb012
|
@ -768,7 +768,7 @@ static const struct can_driver_api mcux_flexcan_driver_api = {
|
|||
IRQ_CONNECT(DT_INST_IRQ_BY_NAME(id, name, irq), \
|
||||
DT_INST_IRQ_BY_NAME(id, name, priority), \
|
||||
mcux_flexcan_isr, \
|
||||
DEVICE_DT_INST_GET(id), id); \
|
||||
DEVICE_DT_INST_GET(id), 0); \
|
||||
irq_enable(DT_INST_IRQ_BY_NAME(id, name, irq)); \
|
||||
} while (0)
|
||||
|
||||
|
|
Loading…
Reference in a new issue