linux-mips
[Top] [All Lists]

[PATCH 2/2] MIPS: ralink: probe clocksources from OF

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH 2/2] MIPS: ralink: probe clocksources from OF
From: John Crispin <blogic@openwrt.org>
Date: Thu, 8 Aug 2013 13:08:07 +0200
Cc: linux-mips@linux-mips.org, John Crispin <blogic@openwrt.org>
In-reply-to: <1375960087-31084-1-git-send-email-blogic@openwrt.org>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1375960087-31084-1-git-send-email-blogic@openwrt.org>
Sender: linux-mips-bounce@linux-mips.org
Make plat_time_init() call clocksource_of_init() allowing the systick cevt
to load.

Signed-off-by: John Crispin <blogic@openwrt.org>
---
 arch/mips/ralink/clk.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/mips/ralink/clk.c b/arch/mips/ralink/clk.c
index 8dfa22f..bba0cdf 100644
--- a/arch/mips/ralink/clk.c
+++ b/arch/mips/ralink/clk.c
@@ -69,4 +69,5 @@ void __init plat_time_init(void)
        pr_info("CPU Clock: %ldMHz\n", clk_get_rate(clk) / 1000000);
        mips_hpt_frequency = clk_get_rate(clk) / 2;
        clk_put(clk);
+       clocksource_of_init();
 }
-- 
1.7.10.4


<Prev in Thread] Current Thread [Next in Thread>