drivers: gpio: gpio_mcux_lpc: Allocate no of gpio ISR using macro

Allocate no of gpio ISR using macro INPUTMUX_PINTSEL_COUNT.

Signed-off-by: Navin Sankar Velliangiri <navin@linumiz.com>
This commit is contained in:
Navin Sankar Velliangiri 2022-08-12 21:46:36 +02:00 committed by Mahesh Mahadevan
parent 0facbebee9
commit 6ed5653365

View file

@ -61,7 +61,7 @@ struct gpio_mcux_lpc_data {
/* pin association with PINT id */
pint_pin_int_t pint_id[32];
/* ISR allocated in device tree to this port */
uint32_t isr_list[8];
uint32_t isr_list[INPUTMUX_PINTSEL_COUNT];
/* index to to table above */
uint32_t isr_list_idx;
};