summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMaxin B. John <maxin.john@gmail.com>2011-11-09 11:12:58 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-11-09 21:53:31 +0000
commit8658ca730fa66fd6b8c559315915c774330f35bb (patch)
treeb6b0c52f59e11d7c0630d94805619abc8aeb07c2 /arch
parent5f300acd8ae9f3d4585154370012ffc5c665330f (diff)
downloadop-kernel-dev-8658ca730fa66fd6b8c559315915c774330f35bb.zip
op-kernel-dev-8658ca730fa66fd6b8c559315915c774330f35bb.tar.gz
ARM: 7153/1: mach-bcmring: fix build error in core.c
Fixes this build error: CC arch/arm/mach-bcmring/core.o arch/arm/mach-bcmring/core.c: In function 'bcmring_init_timer': arch/arm/mach-bcmring/core.c:238: error: implicit declaration of function 'sp804_clockevents_register' make[1]: *** [arch/arm/mach-bcmring/core.o] Error 1 make: *** [arch/arm/mach-bcmring] Error 2 Signed-off-by: Maxin B. John <maxin.john@gmail.com> Reviewed-by: Jiandong Zheng <jdzheng@broadcom.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-bcmring/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-bcmring/core.c b/arch/arm/mach-bcmring/core.c
index 43eadbcc..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 = {
OpenPOWER on IntegriCloud