提交 ebc30a0f 编写于 作者: C Coly Li 提交者: 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: NColy Li <coly.li@suse.de>
Signed-off-by: NHelge Deller <deller@gmx.de>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: NKyle McMartin <kyle@mcmartin.ca>
上级 e9b26010
......@@ -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();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册