projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
752451f
)
xtensa:fix the incompatible pointer type warning in time.c
author
Wanlong Gao
<wanlong.gao@gmail.com>
Wed, 1 Jun 2011 14:37:43 +0000
(22:37 +0800)
committer
Chris Zankel
<chris@zankel.net>
Wed, 19 Dec 2012 05:10:20 +0000
(21:10 -0800)
Fix the definition of the function ccount_read to be compatible
to the member read of the structure clocksource.
Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/kernel/time.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/xtensa/kernel/time.c
b/arch/xtensa/kernel/time.c
index ac62f9cf1e100518ce719d10beb7110385b149ba..19b32a0eaebcc665732e460c22a6ce493d4e29b1 100644
(file)
--- a/
arch/xtensa/kernel/time.c
+++ b/
arch/xtensa/kernel/time.c
@@
-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();
}