* [PATCH 4/7] mips alchemy: add parameter to au1x_counter1_read()
@ 2009-04-22 19:05 Coly Li
2009-04-22 20:00 ` Manuel Lauss
0 siblings, 1 reply; 2+ messages in thread
From: Coly Li @ 2009-04-22 19:05 UTC (permalink / raw)
To: LKML; +Cc: Manuel Lauss, Ingo Molnar
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 <coly.li@suse.de>
Cc: Manuel Lauss <mano@roarinelk.homelinux.net>
Cc: Ingo Molnar <mingo@elte.hu>
---
arch/mips/alchemy/common/time.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/mips/alchemy/common/time.c b/arch/mips/alchemy/common/time.c
index f58d4ff..33fbae7 100644
--- a/arch/mips/alchemy/common/time.c
+++ b/arch/mips/alchemy/common/time.c
@@ -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);
}
--
Coly Li
SuSE Labs
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-22 20:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-22 19:05 [PATCH 4/7] mips alchemy: add parameter to au1x_counter1_read() Coly Li
2009-04-22 20:00 ` Manuel Lauss
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox