diff options
author | eric miao <eric.y.miao@gmail.com> | 2007-09-11 22:13:17 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-10-15 13:53:43 -0400 |
commit | 2c8086a5d073e8e72122a5b84febde236a39845b (patch) | |
tree | b926ccc2231d7e287400d4fbf24f509c9a8225ae /arch/arm/mach-pxa/generic.h | |
parent | 073ac8fd4a3e9a9265e8a59e0a79bc4b0b3822c3 (diff) |
[ARM] pxa: PXA3xx base support
Signed-off-by: eric miao <eric.y.miao@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/generic.h')
-rw-r--r-- | arch/arm/mach-pxa/generic.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/generic.h b/arch/arm/mach-pxa/generic.h index 2c4fe617cfc0..b30f240a16c7 100644 --- a/arch/arm/mach-pxa/generic.h +++ b/arch/arm/mach-pxa/generic.h | |||
@@ -18,6 +18,7 @@ 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)); | 18 | extern void __init pxa_init_irq_set_wake(int (*set_wake)(unsigned int, unsigned int)); |
19 | extern void __init pxa25x_init_irq(void); | 19 | extern void __init pxa25x_init_irq(void); |
20 | extern void __init pxa27x_init_irq(void); | 20 | extern void __init pxa27x_init_irq(void); |
21 | extern void __init pxa3xx_init_irq(void); | ||
21 | extern void __init pxa_map_io(void); | 22 | extern void __init pxa_map_io(void); |
22 | 23 | ||
23 | extern unsigned int get_clk_frequency_khz(int info); | 24 | extern unsigned int get_clk_frequency_khz(int info); |
@@ -44,3 +45,10 @@ extern unsigned pxa27x_get_memclk_frequency_10khz(void); | |||
44 | #define pxa27x_get_memclk_frequency_10khz() (0) | 45 | #define pxa27x_get_memclk_frequency_10khz() (0) |
45 | #endif | 46 | #endif |
46 | 47 | ||
48 | #ifdef CONFIG_PXA3xx | ||
49 | extern unsigned pxa3xx_get_clk_frequency_khz(int); | ||
50 | extern unsigned pxa3xx_get_memclk_frequency_10khz(void); | ||
51 | #else | ||
52 | #define pxa3xx_get_clk_frequency_khz(x) (0) | ||
53 | #define pxa3xx_get_memclk_frequency_10khz() (0) | ||
54 | #endif | ||