summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile
diff options
context:
space:
mode:
authorMagnus Damm2013-02-05 08:30:49 +0100
committerSimon Horman2013-02-05 09:13:55 +0100
commitdbe1c3defb3844772634446492ea6c13882596ec (patch)
tree6fc9cd123416adfe18484ce726d84a9106f3925d /arch/arm/mach-shmobile
parentARM: shmobile: r8a7779: Correct TMU clock support (diff)
downloadkernel-qcow2-linux-dbe1c3defb3844772634446492ea6c13882596ec.tar.gz
kernel-qcow2-linux-dbe1c3defb3844772634446492ea6c13882596ec.tar.xz
kernel-qcow2-linux-dbe1c3defb3844772634446492ea6c13882596ec.zip
ARM: shmobile: Register ARM architected timer
Register ARM architected timer by default for all mach-shmobile systems using late timer. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r--arch/arm/mach-shmobile/timer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/timer.c b/arch/arm/mach-shmobile/timer.c
index fdbe54a11555..3d16d4dff01b 100644
--- a/arch/arm/mach-shmobile/timer.c
+++ b/arch/arm/mach-shmobile/timer.c
@@ -20,6 +20,7 @@
*/
#include <linux/platform_device.h>
#include <linux/delay.h>
+#include <asm/arch_timer.h>
#include <asm/mach/time.h>
#include <asm/smp_twd.h>
@@ -62,4 +63,6 @@ void __init shmobile_earlytimer_init(void)
void __init shmobile_timer_init(void)
{
+ arch_timer_of_register();
+ arch_timer_sched_clock_init();
}