mips alchemy: add parameter to au1x_counter1_read()
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.
Signed-off-by Coly Li <[email protected]>
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
@@ -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
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