Commit ebc30a0f authored by Coly Li's avatar Coly Li Committed by Kyle McMartin

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: default avatarColy Li <coly.li@suse.de>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: default avatarKyle McMartin <kyle@mcmartin.ca>
parent e9b26010
...@@ -173,7 +173,7 @@ EXPORT_SYMBOL(profile_pc); ...@@ -173,7 +173,7 @@ EXPORT_SYMBOL(profile_pc);
/* clock source code */ /* clock source code */
static cycle_t read_cr16(void) static cycle_t read_cr16(struct clocksource *cs)
{ {
return get_cycles(); return get_cycles();
} }
......
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