mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 22:44:27 -05:00 
			
		
		
		
	Sync the patches with those sent upstream for v3.12. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37778
		
			
				
	
	
		
			22 lines
		
	
	
		
			680 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			680 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
From c4d6a957efb0c8d919302598ae547bde05137461 Mon Sep 17 00:00:00 2001
 | 
						|
From: John Crispin <blogic@openwrt.org>
 | 
						|
Date: Sun, 28 Jul 2013 13:48:39 +0200
 | 
						|
Subject: [PATCH 12/25] MIPS: ralink: probe clocksources from OF
 | 
						|
 | 
						|
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(+)
 | 
						|
 | 
						|
--- 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();
 | 
						|
 }
 |