Commit d0ce9a5a authored by Coly Li's avatar Coly Li Committed by Ralf Baechle

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: default avatarColy Li <coly.li@suse.de>
Cc: David Daney <ddaney@caviumnetworks.com>
Cc: Ingo Molnar <mingo@elte.hu>
Reviewed-by: default avatarDavid Daney <ddaney@caviumnetworks.com>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent c21004cd
...@@ -38,7 +38,7 @@ void octeon_init_cvmcount(void) ...@@ -38,7 +38,7 @@ void octeon_init_cvmcount(void)
local_irq_restore(flags); local_irq_restore(flags);
} }
static cycle_t octeon_cvmcount_read(void) static cycle_t octeon_cvmcount_read(struct clocksource *cs)
{ {
return read_c0_cvmcount(); return read_c0_cvmcount();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment