From: eric miao Date: Thu, 24 Jan 2008 01:27:30 +0000 (+0100) Subject: [ARM] 4763/1: pxa: fix pxa3xx_get_clk_frequency_khz() to return KHz X-Git-Tag: v2.6.25-rc1~1175^2~6 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6232be32afa121628c72291ce7eaa24a639905c2;p=linux-2.6 [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 Signed-off-by: Russell King --- diff --git a/arch/arm/mach-pxa/pxa3xx.c b/arch/arm/mach-pxa/pxa3xx.c index 61d9c9d69e..37e93f9ba8 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; } /*