diff options
Diffstat (limited to 'arch/arm/mach-pxa/generic.h')
-rw-r--r-- | arch/arm/mach-pxa/generic.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/arch/arm/mach-pxa/generic.h b/arch/arm/mach-pxa/generic.h index b3d10b0e52a0..5bb7ae757831 100644 --- a/arch/arm/mach-pxa/generic.h +++ b/arch/arm/mach-pxa/generic.h | |||
@@ -9,14 +9,13 @@ | |||
9 | * published by the Free Software Foundation. | 9 | * published by the Free Software Foundation. |
10 | */ | 10 | */ |
11 | 11 | ||
12 | typedef int (*set_wake_t)(unsigned int, unsigned int); | ||
13 | |||
12 | struct sys_timer; | 14 | struct sys_timer; |
13 | 15 | ||
14 | extern struct sys_timer pxa_timer; | 16 | extern struct sys_timer pxa_timer; |
15 | extern void __init pxa_init_irq_low(void); | 17 | extern void __init pxa_init_irq(int irq_nr, set_wake_t fn); |
16 | extern void __init pxa_init_irq_high(void); | 18 | extern void __init pxa_init_gpio(int gpio_nr, set_wake_t fn); |
17 | extern void __init pxa_init_irq_gpio(int gpio_nr); | ||
18 | extern void __init pxa_init_irq_set_wake(int (*set_wake)(unsigned int, unsigned int)); | ||
19 | extern void __init pxa_init_gpio(int gpio_nr); | ||
20 | extern void __init pxa25x_init_irq(void); | 19 | extern void __init pxa25x_init_irq(void); |
21 | extern void __init pxa27x_init_irq(void); | 20 | extern void __init pxa27x_init_irq(void); |
22 | extern void __init pxa3xx_init_irq(void); | 21 | extern void __init pxa3xx_init_irq(void); |
@@ -30,6 +29,8 @@ extern int pxa_last_gpio; | |||
30 | mi->bank[__nr].size = (__size), \ | 29 | mi->bank[__nr].size = (__size), \ |
31 | mi->bank[__nr].node = (((unsigned)(__start) - PHYS_OFFSET) >> 27) | 30 | mi->bank[__nr].node = (((unsigned)(__start) - PHYS_OFFSET) >> 27) |
32 | 31 | ||
32 | #define ARRAY_AND_SIZE(x) (x), ARRAY_SIZE(x) | ||
33 | |||
33 | #ifdef CONFIG_PXA25x | 34 | #ifdef CONFIG_PXA25x |
34 | extern unsigned pxa25x_get_clk_frequency_khz(int); | 35 | extern unsigned pxa25x_get_clk_frequency_khz(int); |
35 | extern unsigned pxa25x_get_memclk_frequency_10khz(void); | 36 | extern unsigned pxa25x_get_memclk_frequency_10khz(void); |
@@ -56,3 +57,4 @@ extern unsigned pxa3xx_get_memclk_frequency_10khz(void); | |||
56 | 57 | ||
57 | extern struct sysdev_class pxa_irq_sysclass; | 58 | extern struct sysdev_class pxa_irq_sysclass; |
58 | extern struct sysdev_class pxa_gpio_sysclass; | 59 | extern struct sysdev_class pxa_gpio_sysclass; |
60 | extern struct sysdev_class pxa3xx_mfp_sysclass; | ||