diff options
Diffstat (limited to 'arch/arm/plat-pxa/include/plat/gpio.h')
-rw-r--r-- | arch/arm/plat-pxa/include/plat/gpio.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/plat-pxa/include/plat/gpio.h b/arch/arm/plat-pxa/include/plat/gpio.h index 44248cb926a..1ddd2b97a72 100644 --- a/arch/arm/plat-pxa/include/plat/gpio.h +++ b/arch/arm/plat-pxa/include/plat/gpio.h | |||
@@ -1,6 +1,8 @@ | |||
1 | #ifndef __PLAT_GPIO_H | 1 | #ifndef __PLAT_GPIO_H |
2 | #define __PLAT_GPIO_H | 2 | #define __PLAT_GPIO_H |
3 | 3 | ||
4 | struct irq_data; | ||
5 | |||
4 | /* | 6 | /* |
5 | * We handle the GPIOs by banks, each bank covers up to 32 GPIOs with | 7 | * We handle the GPIOs by banks, each bank covers up to 32 GPIOs with |
6 | * one set of registers. The register offsets are organized below: | 8 | * one set of registers. The register offsets are organized below: |
@@ -56,7 +58,7 @@ static inline void gpio_set_value(unsigned gpio, int value) | |||
56 | */ | 58 | */ |
57 | extern int pxa_last_gpio; | 59 | extern int pxa_last_gpio; |
58 | 60 | ||
59 | typedef int (*set_wake_t)(unsigned int irq, unsigned int on); | 61 | typedef int (*set_wake_t)(struct irq_data *d, unsigned int on); |
60 | 62 | ||
61 | extern void pxa_init_gpio(int mux_irq, int start, int end, set_wake_t fn); | 63 | extern void pxa_init_gpio(int mux_irq, int start, int end, set_wake_t fn); |
62 | #endif /* __PLAT_GPIO_H */ | 64 | #endif /* __PLAT_GPIO_H */ |