ARM/bcmring: fix build error with sp804 clockevents init
Subsystems (2)
PATCH 1/1 ARM/bcmring: fix build error with sp804 clockevents init
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.
--- arch/arm/mach-bcmring/core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-bcmring/core.c +1 -1
@@ -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 = {
Signature · 1 line
1.7.5.4
PATCH 1/1 ARM/bcmring: fix build error with sp804 clockevents init
Hi,
Quoted 5 lines · Jiandong Zheng
Wrong API
sp804_clockevents_register()was used and caused build error. So change to usesp804_clockevents_init().This patch was submitted a couple of times last year but unfortunately got lost.
Same with this patch as with the dma.c one: It's already fixed in mainline top of tree. What tree are you working against?
-Olof
PATCH 1/1 ARM/bcmring: fix build error with sp804 clockevents init
Quoted 13 lines · Olof Johansson
Hi,
Quoted 5 lines · Jiandong Zheng
Wrong API
sp804_clockevents_register()was used and caused build error. So change to usesp804_clockevents_init().This patch was submitted a couple of times last year but unfortunately got lost.
Same with this patch as with the
dma.cone: It's already fixed in mainline top of tree. What tree are you working against?
Yes, you are right. I forgot to check the latest in linus's tree and stays at 3.1.0.
Please discard this and another one in dma.c.
Thanks.
JD