aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-common/ints-priority.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/mach-common/ints-priority.c')
-rw-r--r--arch/blackfin/mach-common/ints-priority.c6
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
380static unsigned short gpio_enabled[gpio_bank(MAX_BLACKFIN_GPIOS)]; 380static unsigned short gpio_enabled[GPIO_BANK_NUM];
381static unsigned short gpio_edge_triggered[gpio_bank(MAX_BLACKFIN_GPIOS)]; 381static unsigned short gpio_edge_triggered[GPIO_BANK_NUM];
382 382
383extern void bfin_gpio_irq_prepare(unsigned gpio); 383extern void bfin_gpio_irq_prepare(unsigned gpio);
384 384
@@ -620,7 +620,7 @@ static unsigned char irq2pint_lut[NR_PINTS];
620static unsigned char pint2irq_lut[NR_PINT_SYS_IRQS * NR_PINT_BITS]; 620static unsigned char pint2irq_lut[NR_PINT_SYS_IRQS * NR_PINT_BITS];
621 621
622static unsigned int gpio_both_edge_triggered[NR_PINT_SYS_IRQS]; 622static unsigned int gpio_both_edge_triggered[NR_PINT_SYS_IRQS];
623static unsigned short gpio_enabled[gpio_bank(MAX_BLACKFIN_GPIOS)]; 623static unsigned short gpio_enabled[GPIO_BANK_NUM];
624 624
625 625
626struct pin_int_t { 626struct pin_int_t {