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: 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>
This commit is contained in:
Coly Li 2009-04-30 22:43:46 +00:00 committed by Kyle McMartin
parent e9b2601073
commit ebc30a0f67

View File

@ -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();
}