Commit 69b1803a authored by Kelvin Cheung's avatar Kelvin Cheung Committed by John Crispin

MIPS: Loongson1B: Fix a typo

Fix a typo in the code.
Signed-off-by: default avatarKelvin Cheung <keguang.zhang@gmail.com>
Patchwork: http://patchwork.linux-mips.org/patch/4434Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>
parent 94fd4bdf
...@@ -22,7 +22,7 @@ void __init plat_time_init(void) ...@@ -22,7 +22,7 @@ void __init plat_time_init(void)
/* setup mips r4k timer */ /* setup mips r4k timer */
clk = clk_get(NULL, "cpu"); clk = clk_get(NULL, "cpu");
if (IS_ERR(clk)) if (IS_ERR(clk))
panic("unable to get dc clock, err=%ld", PTR_ERR(clk)); panic("unable to get cpu clock, err=%ld", PTR_ERR(clk));
mips_hpt_frequency = clk_get_rate(clk) / 2; mips_hpt_frequency = clk_get_rate(clk) / 2;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment