Skip to content

Commit

Permalink
[ARM] pxa: add parameter to clksrc_read() for pxa168/910
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Coly Li authored and Eric Miao committed May 22, 2009
1 parent 0e1b74d commit f5c81a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-mmp/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ static struct clock_event_device ckevt = {
.set_mode = timer_set_mode,
};

static cycle_t clksrc_read(void)
static cycle_t clksrc_read(struct clocksource *cs)
{
return timer_read();
}
Expand Down

0 comments on commit f5c81a3

Please sign in to comment.