diff options
author | eric miao <eric.y.miao@gmail.com> | 2008-01-23 20:27:30 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-01-28 05:14:53 -0500 |
commit | 6232be32afa121628c72291ce7eaa24a639905c2 (patch) | |
tree | 2e394a151d0c1d6904f60f462186a6ff7fad9b7c /arch/arm | |
parent | 91525300baf162e83e923b09ca286f9205e21522 (diff) |
[ARM] 4763/1: pxa: fix pxa3xx_get_clk_frequency_khz() to return KHz
The original code incorrectly returns Hz instead of KHz.
Signed-off-by: eric miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-pxa/pxa3xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/pxa3xx.c b/arch/arm/mach-pxa/pxa3xx.c index 61d9c9d69e6b..37e93f9ba8fc 100644 --- a/arch/arm/mach-pxa/pxa3xx.c +++ b/arch/arm/mach-pxa/pxa3xx.c | |||
@@ -86,7 +86,7 @@ unsigned int pxa3xx_get_clk_frequency_khz(int info) | |||
86 | HSS / 1000000, (HSS % 1000000) / 10000); | 86 | HSS / 1000000, (HSS % 1000000) / 10000); |
87 | } | 87 | } |
88 | 88 | ||
89 | return CLK; | 89 | return CLK / 1000; |
90 | } | 90 | } |
91 | 91 | ||
92 | /* | 92 | /* |