提交 09378d7c 编写于 作者: W Wanlong Gao 提交者: Chris Zankel

xtensa:fix the incompatible pointer type warning in time.c

Fix the definition of the function ccount_read to be compatible
to the member read of the structure clocksource.
Signed-off-by: NWanlong Gao <wanlong.gao@gmail.com>
Signed-off-by: NChris Zankel <chris@zankel.net>
上级 752451f0
......@@ -31,7 +31,7 @@ unsigned long ccount_per_jiffy; /* per 1/HZ */
unsigned long nsec_per_ccount; /* nsec per ccount increment */
#endif
static cycle_t ccount_read(void)
static cycle_t ccount_read(struct clocksource *cs)
{
return (cycle_t)get_ccount();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册