diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-05-12 16:31:13 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-05-23 19:04:53 +0200 |
commit | 57cc4f7de2b896ca79185e337eaf7ff9906c4656 (patch) | |
tree | d572d278dfc7d319518b73103905574f0a4b06e2 /arch/arm/mach-versatile | |
parent | clocksource: ARM sp804: obtain sp804 timer rate via clks (diff) | |
download | linux-57cc4f7de2b896ca79185e337eaf7ff9906c4656.tar.xz linux-57cc4f7de2b896ca79185e337eaf7ff9906c4656.zip |
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.c | 2 |
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) 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 = { |