Skip to content

Commit

Permalink
MIPS: Cavium: Add struct clocksource * argument to octeon_cvmcount_re…
Browse files Browse the repository at this point in the history
…ad()

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 <coly.li@suse.de>
Cc: David Daney <ddaney@caviumnetworks.com>
Cc: Ingo Molnar <mingo@elte.hu>
Reviewed-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Coly Li authored and Ralf Baechle committed May 14, 2009
1 parent c21004c commit d0ce9a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/cavium-octeon/csrc-octeon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit d0ce9a5

Please sign in to comment.