diff options
Diffstat (limited to 'arch/blackfin/mach-common/ints-priority.c')
-rw-r--r-- | arch/blackfin/mach-common/ints-priority.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/blackfin/mach-common/ints-priority.c b/arch/blackfin/mach-common/ints-priority.c index c32fa695f8cc..5b374ff1c96e 100644 --- a/arch/blackfin/mach-common/ints-priority.c +++ b/arch/blackfin/mach-common/ints-priority.c | |||
@@ -377,8 +377,8 @@ static inline void bfin_set_irq_handler(unsigned irq, irq_flow_handler_t handle) | |||
377 | 377 | ||
378 | #if !defined(CONFIG_BF54x) | 378 | #if !defined(CONFIG_BF54x) |
379 | 379 | ||
380 | static unsigned short gpio_enabled[gpio_bank(MAX_BLACKFIN_GPIOS)]; | 380 | static unsigned short gpio_enabled[GPIO_BANK_NUM]; |
381 | static unsigned short gpio_edge_triggered[gpio_bank(MAX_BLACKFIN_GPIOS)]; | 381 | static unsigned short gpio_edge_triggered[GPIO_BANK_NUM]; |
382 | 382 | ||
383 | extern void bfin_gpio_irq_prepare(unsigned gpio); | 383 | extern void bfin_gpio_irq_prepare(unsigned gpio); |
384 | 384 | ||
@@ -620,7 +620,7 @@ static unsigned char irq2pint_lut[NR_PINTS]; | |||
620 | static unsigned char pint2irq_lut[NR_PINT_SYS_IRQS * NR_PINT_BITS]; | 620 | static unsigned char pint2irq_lut[NR_PINT_SYS_IRQS * NR_PINT_BITS]; |
621 | 621 | ||
622 | static unsigned int gpio_both_edge_triggered[NR_PINT_SYS_IRQS]; | 622 | static unsigned int gpio_both_edge_triggered[NR_PINT_SYS_IRQS]; |
623 | static unsigned short gpio_enabled[gpio_bank(MAX_BLACKFIN_GPIOS)]; | 623 | static unsigned short gpio_enabled[GPIO_BANK_NUM]; |
624 | 624 | ||
625 | 625 | ||
626 | struct pin_int_t { | 626 | struct pin_int_t { |