ARM: at91/gpio: fix display of number of irq setuped
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
d0fbda9add
commit
1e81799bd6
|
@ -527,7 +527,7 @@ void __init at91_gpio_irq_setup(void)
|
|||
irq_set_chip_data(id, this);
|
||||
irq_set_chained_handler(id, gpio_irq_handler);
|
||||
}
|
||||
pr_info("AT91: %d gpio irqs in %d banks\n", irq, gpio_banks);
|
||||
pr_info("AT91: %d gpio irqs in %d banks\n", irq - gpio_to_irq(0), gpio_banks);
|
||||
}
|
||||
|
||||
/* gpiolib support */
|
||||
|
|
Loading…
Reference in New Issue