Skip to contentSkip to conversation

mips alchemy: add parameter to au1x_counter1_read()

PATCH Applied Coly Li 2 participants 2 messages Apr 22, 2009 MIPS

lore
Share & tools
lore

Coly Li

author
#0 lore raw

PATCH 4/7 mips alchemy: add parameter to au1x_counter1_read()

This patch modifies parameter of au1x_counter1_read() from 'void' to 'struct clocksource *cs', which fixes compile warning for incompatible parameter type.

Cc Manuel Lauss <[email protected]>
Cc Ingo Molnar <[email protected]>
---
 arch/mips/alchemy/common/time.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/alchemy/common/time.c +1 -1
index f58d4ff..33fbae7 100644
@@ -44,7 +44,7 @@
 
 extern int allow_au1k_wait; /* default off for CP0 Counter */
 
-static cycle_t au1x_counter1_read(void)
+static cycle_t au1x_counter1_read(struct clocksource *cs)
 {
 	return au_readl(SYS_RTCREAD);
 }
Signature · 2 lines
Coly Li
SuSE Labs
#1 lore raw

Howdy,

Quoted 2 lines · Coly Li

This patch modifies parameter of au1x_counter1_read() from 'void' to 'struct clocksource *cs', which fixes compile warning for incompatible parameter type.

I sent an identical patch to linux-mips this morning.

Thanks!
Manuel Lauss