diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-09-17 23:04:30 +0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2011-11-29 19:46:19 +0400 |
commit | 1e81799bd62d42bb6d5ec5c74e9b022e7d44f11c (patch) | |
tree | 4df0bb3d359f332ac8ce4ad880d23b7fc8079ad5 /arch/arm/mach-at91 | |
parent | d0fbda9add3281c97205649150fc99fc26148792 (diff) | |
download | linux-1e81799bd62d42bb6d5ec5c74e9b022e7d44f11c.tar.xz |
ARM: at91/gpio: fix display of number of irq setuped
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r-- | arch/arm/mach-at91/gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/gpio.c b/arch/arm/mach-at91/gpio.c index d000448b11ac..74d6783eeabb 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 */ |