Skip to content

Commit

Permalink
parisc: add parameter to read_cr16()
Browse files Browse the repository at this point in the history
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@suse.de>
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
  • Loading branch information
Coly Li authored and Kyle McMartin committed Jul 3, 2009
1 parent e9b2601 commit ebc30a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/parisc/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit ebc30a0

Please sign in to comment.