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:
parent
0facbebee9
commit
6ed5653365
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue