summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/clk/pxa/clk-pxa27x.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/clk/pxa/clk-pxa27x.c')
-rw-r--r--kernel/drivers/clk/pxa/clk-pxa27x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/clk/pxa/clk-pxa27x.c b/kernel/drivers/clk/pxa/clk-pxa27x.c
index 5f9b54b02..267511df1 100644
--- a/kernel/drivers/clk/pxa/clk-pxa27x.c
+++ b/kernel/drivers/clk/pxa/clk-pxa27x.c
@@ -80,7 +80,7 @@ unsigned int pxa27x_get_clk_frequency_khz(int info)
pr_info("System bus clock: %ld.%02ldMHz\n",
clks[4] / 1000000, (clks[4] % 1000000) / 10000);
}
- return (unsigned int)clks[0];
+ return (unsigned int)clks[0] / KHz;
}
bool pxa27x_is_ppll_disabled(void)