[PATCH] ARM/bcmring: fix build error with sp804 clockevents init
Jiandong Zheng
jdzheng at broadcom.com
Tue Jan 3 13:38:32 EST 2012
Wrong API sp804_clockevents_register() was used and caused build error.
So change to use sp804_clockevents_init().
This patch was submitted a couple of times last year but unfortunately
got lost.
Signed-off-by: Jiandong Zheng <jdzheng at broadcom.com>
---
arch/arm/mach-bcmring/core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-bcmring/core.c b/arch/arm/mach-bcmring/core.c
index 43eadbc..430da12 100644
--- a/arch/arm/mach-bcmring/core.c
+++ b/arch/arm/mach-bcmring/core.c
@@ -235,7 +235,7 @@ void __init bcmring_init_timer(void)
*/
bcmring_clocksource_init();
- sp804_clockevents_register(TIMER0_VA_BASE, IRQ_TIMER0, "timer0");
+ sp804_clockevents_init(TIMER0_VA_BASE, IRQ_TIMER0, "timer0");
}
struct sys_timer bcmring_timer = {
--
1.7.5.4
More information about the linux-arm-kernel
mailing list