projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clocksource: pass clocksource to read() callback
[cascardo/linux.git]
/
drivers
/
clocksource
/
scx200_hrt.c
diff --git
a/drivers/clocksource/scx200_hrt.c
b/drivers/clocksource/scx200_hrt.c
index
b92da67
..
27f4d96
100644
(file)
--- a/
drivers/clocksource/scx200_hrt.c
+++ b/
drivers/clocksource/scx200_hrt.c
@@
-43,7
+43,7
@@
MODULE_PARM_DESC(ppm, "+-adjust to actual XO freq (ppm)");
/* The base timer frequency, * 27 if selected */
#define HRT_FREQ 1000000
-static cycle_t read_hrt(
void
)
+static cycle_t read_hrt(
struct clocksource *cs
)
{
/* Read the timer value */
return (cycle_t) inl(scx200_cb_base + SCx200_TIMER_OFFSET);