projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c21004c
)
MIPS: Cavium: Add struct clocksource * argument to octeon_cvmcount_read()
author
Coly Li
<
[email protected]
>
Wed, 22 Apr 2009 19:06:06 +0000
(
03:06
+0800)
committer
Ralf Baechle
<
[email protected]
>
Thu, 14 May 2009 12:50:29 +0000
(13:50 +0100)
This patch modifies parameter of octeon_cvmcount_read() from 'void' to
'struct clocksource *cs', which fixes compile warning for incompatible
parameter type.
Signed-off-by: Coly Li <
[email protected]
>
Cc: David Daney <
[email protected]
>
Cc: Ingo Molnar <
[email protected]
>
Reviewed-by: David Daney <
[email protected]
>
Signed-off-by: Ralf Baechle <
[email protected]
>
arch/mips/cavium-octeon/csrc-octeon.c
patch
|
blob
|
history
diff --git
a/arch/mips/cavium-octeon/csrc-octeon.c
b/arch/mips/cavium-octeon/csrc-octeon.c
index 70fd92c3165765360bdfb72752d3452962f81b10..96110f217dcd6ac79d1aa7c8e644d2036a7d9113 100644
(file)
--- a/
arch/mips/cavium-octeon/csrc-octeon.c
+++ b/
arch/mips/cavium-octeon/csrc-octeon.c
@@
-38,7
+38,7
@@
void octeon_init_cvmcount(void)
local_irq_restore(flags);
}
-static cycle_t octeon_cvmcount_read(
void
)
+static cycle_t octeon_cvmcount_read(
struct clocksource *cs
)
{
return read_c0_cvmcount();
}