[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <49EF6A8C.2050300@suse.de>
Date: Thu, 23 Apr 2009 03:05:48 +0800
From: Coly Li <coly.li@...e.de>
To: LKML <linux-kernel@...r.kernel.org>
Cc: Manuel Lauss <mano@...rinelk.homelinux.net>,
Ingo Molnar <mingo@...e.hu>
Subject: [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 <coly.li@...e.de>
Cc: Manuel Lauss <mano@...rinelk.homelinux.net>
Cc: Ingo Molnar <mingo@...e.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists