diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2010-10-14 01:08:03 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2011-03-14 09:05:15 -0400 |
commit | 33b744b35189baaa260f526cf117392095331843 (patch) | |
tree | 009bb385065b80e385cc040c998bc08280c38343 /arch/arm/plat-nomadik/include | |
parent | c84c7c08e320acfd10a0b7e55dbb0bc819b6d284 (diff) |
plat-nomadik: support secondary GPIO interrupts
When GPIOs wake up the system from sleep mode, the normal GPIO interrupt
handler does not hit and the normal interrupt status register does not
contain the status. Instead the secondary GPIO handler does, and the
interrupt status needs to be retrieved from the wakeup status saved by
the suspend/resume code.
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/plat-nomadik/include')
-rw-r--r-- | arch/arm/plat-nomadik/include/plat/gpio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-nomadik/include/plat/gpio.h b/arch/arm/plat-nomadik/include/plat/gpio.h index d745f3ac0a61..d108a326a0ab 100644 --- a/arch/arm/plat-nomadik/include/plat/gpio.h +++ b/arch/arm/plat-nomadik/include/plat/gpio.h | |||
@@ -83,6 +83,7 @@ struct nmk_gpio_platform_data { | |||
83 | int first_gpio; | 83 | int first_gpio; |
84 | int first_irq; | 84 | int first_irq; |
85 | int num_gpio; | 85 | int num_gpio; |
86 | u32 (*get_secondary_status)(unsigned int bank); | ||
86 | }; | 87 | }; |
87 | 88 | ||
88 | #endif /* __ASM_PLAT_GPIO_H */ | 89 | #endif /* __ASM_PLAT_GPIO_H */ |