From: Coly Li Date: Thu, 30 Apr 2009 22:43:46 +0000 (+0000) Subject: parisc: add parameter to read_cr16() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ebc30a0f67a4d6a9470556f4311478b3b04c2b1f;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git parisc: add parameter to read_cr16() 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 Signed-off-by: Helge Deller Cc: Ingo Molnar Signed-off-by: Kyle McMartin --- diff --git a/arch/parisc/kernel/time.c b/arch/parisc/kernel/time.c index d4dd05674c62..d97d07f47a55 100644 --- a/arch/parisc/kernel/time.c +++ b/arch/parisc/kernel/time.c @@ -173,7 +173,7 @@ EXPORT_SYMBOL(profile_pc); /* clock source code */ -static cycle_t read_cr16(void) +static cycle_t read_cr16(struct clocksource *cs) { return get_cycles(); }