Skip to contentSkip to conversation

ARM/bcmring: fix build error with sp804 clockevents init

PATCH New Jiandong Zheng 2 participants 3 messages Jan 3, 2012 – Jan 4, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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
index 43eadbc..430da12 100644
@@ -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
#1 lore raw

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 use sp804_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

#2 lore raw

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 use sp804_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?

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