diff options
Diffstat (limited to 'arch/arm/mach-pxa/generic.c')
-rw-r--r-- | arch/arm/mach-pxa/generic.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c index eed95eaf58cd..2263a84844a1 100644 --- a/arch/arm/mach-pxa/generic.c +++ b/arch/arm/mach-pxa/generic.c | |||
@@ -51,8 +51,10 @@ unsigned int get_clk_frequency_khz(int info) | |||
51 | { | 51 | { |
52 | if (cpu_is_pxa21x() || cpu_is_pxa25x()) | 52 | if (cpu_is_pxa21x() || cpu_is_pxa25x()) |
53 | return pxa25x_get_clk_frequency_khz(info); | 53 | return pxa25x_get_clk_frequency_khz(info); |
54 | else | 54 | else if (cpu_is_pxa27x()) |
55 | return pxa27x_get_clk_frequency_khz(info); | 55 | return pxa27x_get_clk_frequency_khz(info); |
56 | else | ||
57 | return pxa3xx_get_clk_frequency_khz(info); | ||
56 | } | 58 | } |
57 | EXPORT_SYMBOL(get_clk_frequency_khz); | 59 | EXPORT_SYMBOL(get_clk_frequency_khz); |
58 | 60 | ||
@@ -63,8 +65,10 @@ unsigned int get_memclk_frequency_10khz(void) | |||
63 | { | 65 | { |
64 | if (cpu_is_pxa21x() || cpu_is_pxa25x()) | 66 | if (cpu_is_pxa21x() || cpu_is_pxa25x()) |
65 | return pxa25x_get_memclk_frequency_10khz(); | 67 | return pxa25x_get_memclk_frequency_10khz(); |
66 | else | 68 | else if (cpu_is_pxa27x()) |
67 | return pxa27x_get_memclk_frequency_10khz(); | 69 | return pxa27x_get_memclk_frequency_10khz(); |
70 | else | ||
71 | return pxa3xx_get_memclk_frequency_10khz(); | ||
68 | } | 72 | } |
69 | EXPORT_SYMBOL(get_memclk_frequency_10khz); | 73 | EXPORT_SYMBOL(get_memclk_frequency_10khz); |
70 | 74 | ||