Commit f5c81a327015844eb91087dd102648b5d984f33c

Authored by Coly Li
Committed by Eric Miao
1 parent 0e1b74df99

[ARM] pxa: add parameter to clksrc_read() for pxa168/910

This patch modifies parameter of clksrc_read() from 'void' to
'struct clocksource *cs', which fixes compile warning for
incompatible parameter type.

Signed-off-by: Coly Li <coly.li@suse.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Eric Miao <eric.miao@marvell.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

arch/arm/mach-mmp/time.c
... ... @@ -136,7 +136,7 @@
136 136 .set_mode = timer_set_mode,
137 137 };
138 138  
139   -static cycle_t clksrc_read(void)
  139 +static cycle_t clksrc_read(struct clocksource *cs)
140 140 {
141 141 return timer_read();
142 142 }