diff options
author | Haojian Zhuang <haojian.zhuang@gmail.com> | 2010-09-19 20:10:13 -0400 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-10-09 05:07:31 -0400 |
commit | 799929d7048b3ec0086ed525ed7ccf6f2b8ecda6 (patch) | |
tree | 7d34e312c6385f2971e930a30dedc091a43224bf /arch/arm/mach-pxa/generic.c | |
parent | ecf89b8a9189462480086f72791eb41f8aa09bfd (diff) |
ARM: pxa: reduce the scope of get_memclk_frequency_10khz()
Up to now, only pxa2xx pcmcia driver is using the API. No other device driver
is using this API in PXA3xx or any other PXA silicons.
Restrict the scope only on pxa2xx and remove the implementation of pxa3xx. So
we can avoid oo much checking on cpuid after more pxa chips supported.
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Cc: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/generic.c')
-rw-r--r-- | arch/arm/mach-pxa/generic.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c index 6655dea11c2f..6451e9c3a93f 100644 --- a/arch/arm/mach-pxa/generic.c +++ b/arch/arm/mach-pxa/generic.c | |||
@@ -79,8 +79,7 @@ unsigned int get_memclk_frequency_10khz(void) | |||
79 | return pxa25x_get_memclk_frequency_10khz(); | 79 | return pxa25x_get_memclk_frequency_10khz(); |
80 | else if (cpu_is_pxa27x()) | 80 | else if (cpu_is_pxa27x()) |
81 | return pxa27x_get_memclk_frequency_10khz(); | 81 | return pxa27x_get_memclk_frequency_10khz(); |
82 | else | 82 | return 0; |
83 | return pxa3xx_get_memclk_frequency_10khz(); | ||
84 | } | 83 | } |
85 | EXPORT_SYMBOL(get_memclk_frequency_10khz); | 84 | EXPORT_SYMBOL(get_memclk_frequency_10khz); |
86 | 85 | ||