[PATCH 01/04] ARM: shmobile: Register DT TWD from timer.c

Magnus Damm magnus.damm at gmail.com
Tue Mar 5 19:22:24 EST 2013


From: Magnus Damm <damm at opensource.se>

Add a call to twd_local_timer_of_register() in
the function shmobile_timer_init(). In case we
have TWD device information provided via DT this
will make sure the TWD driver gets registered.

Signed-off-by: Magnus Damm <damm at opensource.se>
---

 arch/arm/mach-shmobile/timer.c |    1 +
 1 file changed, 1 insertion(+)

--- 0001/arch/arm/mach-shmobile/timer.c
+++ work/arch/arm/mach-shmobile/timer.c	2013-03-05 17:55:48.000000000 +0900
@@ -65,4 +65,5 @@ void __init shmobile_timer_init(void)
 {
 	arch_timer_of_register();
 	arch_timer_sched_clock_init();
+	twd_local_timer_of_register();
 }



More information about the linux-arm-kernel mailing list