summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authoreric miao <eric.y.miao@gmail.com>2008-01-24 02:27:30 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-01-28 10:14:53 +0000
commit6232be32afa121628c72291ce7eaa24a639905c2 (patch)
tree2e394a151d0c1d6904f60f462186a6ff7fad9b7c /arch
parent91525300baf162e83e923b09ca286f9205e21522 (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')
-rw-r--r--arch/arm/mach-pxa/pxa3xx.c2
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)
HSS / 1000000, (HSS % 1000000) / 10000);
}
- return CLK;
+ return CLK / 1000;
}
/*