aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-versatile
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-05-12 10:31:13 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-05-23 13:04:53 -0400
commit57cc4f7de2b896ca79185e337eaf7ff9906c4656 (patch)
treed572d278dfc7d319518b73103905574f0a4b06e2 /arch/arm/mach-versatile
parent7ff550de99141cbd3be0129d563cc4554fdde9f6 (diff)
clockevents: ARM sp804: allow clockevent name to be specified
This allows platforms to specify the clcokevent name upon registration. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-versatile')
-rw-r--r--arch/arm/mach-versatile/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-versatile/core.c b/arch/arm/mach-versatile/core.c
index b0b7de6875ab..4e78c379c5c6 100644
--- a/arch/arm/mach-versatile/core.c
+++ b/arch/arm/mach-versatile/core.c
@@ -772,7 +772,7 @@ static void __init versatile_timer_init(void)
772 writel(0, TIMER3_VA_BASE + TIMER_CTRL); 772 writel(0, TIMER3_VA_BASE + TIMER_CTRL);
773 773
774 sp804_clocksource_init(TIMER3_VA_BASE, "timer3"); 774 sp804_clocksource_init(TIMER3_VA_BASE, "timer3");
775 sp804_clockevents_init(TIMER0_VA_BASE, IRQ_TIMERINT0_1); 775 sp804_clockevents_init(TIMER0_VA_BASE, IRQ_TIMERINT0_1, "timer0");
776} 776}
777 777
778struct sys_timer versatile_timer = { 778struct sys_timer versatile_timer = {