From: Coly Li Date: Wed, 22 Apr 2009 19:06:06 +0000 (+0800) Subject: MIPS: Cavium: Add struct clocksource * argument to octeon_cvmcount_read() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d0ce9a5a47113eec041a0972a0b86134b8fd2828;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git MIPS: Cavium: Add struct clocksource * argument to octeon_cvmcount_read() This patch modifies parameter of octeon_cvmcount_read() from 'void' to 'struct clocksource *cs', which fixes compile warning for incompatible parameter type. Signed-off-by: Coly Li Cc: David Daney Cc: Ingo Molnar Reviewed-by: David Daney Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/cavium-octeon/csrc-octeon.c b/arch/mips/cavium-octeon/csrc-octeon.c index 70fd92c31657..96110f217dcd 100644 --- a/arch/mips/cavium-octeon/csrc-octeon.c +++ b/arch/mips/cavium-octeon/csrc-octeon.c @@ -38,7 +38,7 @@ void octeon_init_cvmcount(void) local_irq_restore(flags); } -static cycle_t octeon_cvmcount_read(void) +static cycle_t octeon_cvmcount_read(struct clocksource *cs) { return read_c0_cvmcount(); }