aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-pxa/irq.c')
-rw-r--r--arch/arm/mach-pxa/irq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/irq.c b/arch/arm/mach-pxa/irq.c
index ae2ae08032d7..3d95442d4168 100644
--- a/arch/arm/mach-pxa/irq.c
+++ b/arch/arm/mach-pxa/irq.c
@@ -349,6 +349,8 @@ void __init pxa_init_irq_gpio(int gpio_nr)
349{ 349{
350 int irq, i; 350 int irq, i;
351 351
352 pxa_last_gpio = gpio_nr - 1;
353
352 /* clear all GPIO edge detects */ 354 /* clear all GPIO edge detects */
353 for (i = 0; i < gpio_nr; i += 32) { 355 for (i = 0; i < gpio_nr; i += 32) {
354 GFER(i) = 0; 356 GFER(i) = 0;