aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-versatile
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-05-12 15:31:13 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-05-23 18:04:53 +0100
commit57cc4f7de2b896ca79185e337eaf7ff9906c4656 (patch)
treed572d278dfc7d319518b73103905574f0a4b06e2 /arch/arm/mach-versatile
parent7ff550de99141cbd3be0129d563cc4554fdde9f6 (diff)
downloadkernel_samsung_smdk4412-57cc4f7de2b896ca79185e337eaf7ff9906c4656.zip
kernel_samsung_smdk4412-57cc4f7de2b896ca79185e337eaf7ff9906c4656.tar.gz
kernel_samsung_smdk4412-57cc4f7de2b896ca79185e337eaf7ff9906c4656.tar.bz2
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 b0b7de6..4e78c37 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)
writel(0, TIMER3_VA_BASE + TIMER_CTRL);
sp804_clocksource_init(TIMER3_VA_BASE, "timer3");
- sp804_clockevents_init(TIMER0_VA_BASE, IRQ_TIMERINT0_1);
+ sp804_clockevents_init(TIMER0_VA_BASE, IRQ_TIMERINT0_1, "timer0");
}
struct sys_timer versatile_timer = {