From: Jean-Christophe PLAGNIOL-VILLARD Date: Sat, 17 Sep 2011 19:04:30 +0000 (+0800) Subject: at91/gpio: fix display of number of irq setuped X-Git-Tag: next-20111116~73^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c24ac1e87d73b9e96e13d1d7d984281d2c71f4c2;p=karo-tx-linux.git at91/gpio: fix display of number of irq setuped Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- diff --git a/arch/arm/mach-at91/gpio.c b/arch/arm/mach-at91/gpio.c index 759a1840f413..e03e15fa85ee 100644 --- a/arch/arm/mach-at91/gpio.c +++ b/arch/arm/mach-at91/gpio.c @@ -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 */