aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/pxa27x.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-pxa/pxa27x.c')
-rw-r--r--arch/arm/mach-pxa/pxa27x.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c
index 203371ab19db..b3bbf3feef75 100644
--- a/arch/arm/mach-pxa/pxa27x.c
+++ b/arch/arm/mach-pxa/pxa27x.c
@@ -36,7 +36,7 @@
36 * We assume these values have been applied via a fcs. 36 * We assume these values have been applied via a fcs.
37 * If info is not 0 we also display the current settings. 37 * If info is not 0 we also display the current settings.
38 */ 38 */
39unsigned int get_clk_frequency_khz( int info) 39unsigned int pxa27x_get_clk_frequency_khz(int info)
40{ 40{
41 unsigned long ccsr, clkcfg; 41 unsigned long ccsr, clkcfg;
42 unsigned int l, L, m, M, n2, N, S; 42 unsigned int l, L, m, M, n2, N, S;
@@ -79,7 +79,7 @@ unsigned int get_clk_frequency_khz( int info)
79 * Return the current mem clock frequency in units of 10kHz as 79 * Return the current mem clock frequency in units of 10kHz as
80 * reflected by CCCR[A], B, and L 80 * reflected by CCCR[A], B, and L
81 */ 81 */
82unsigned int get_memclk_frequency_10khz(void) 82unsigned int pxa27x_get_memclk_frequency_10khz(void)
83{ 83{
84 unsigned long ccsr, clkcfg; 84 unsigned long ccsr, clkcfg;
85 unsigned int l, L, m, M; 85 unsigned int l, L, m, M;
@@ -104,7 +104,7 @@ unsigned int get_memclk_frequency_10khz(void)
104/* 104/*
105 * Return the current LCD clock frequency in units of 10kHz as 105 * Return the current LCD clock frequency in units of 10kHz as
106 */ 106 */
107unsigned int get_lcdclk_frequency_10khz(void) 107unsigned int pxa27x_get_lcdclk_frequency_10khz(void)
108{ 108{
109 unsigned long ccsr; 109 unsigned long ccsr;
110 unsigned int l, L, k, K; 110 unsigned int l, L, k, K;
@@ -120,10 +120,6 @@ unsigned int get_lcdclk_frequency_10khz(void)
120 return (K / 10000); 120 return (K / 10000);
121} 121}
122 122
123EXPORT_SYMBOL(get_clk_frequency_khz);
124EXPORT_SYMBOL(get_memclk_frequency_10khz);
125EXPORT_SYMBOL(get_lcdclk_frequency_10khz);
126
127#ifdef CONFIG_PM 123#ifdef CONFIG_PM
128 124
129#define SAVE(x) sleep_save[SLEEP_SAVE_##x] = x 125#define SAVE(x) sleep_save[SLEEP_SAVE_##x] = x