Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f5c81a32 authored by Coly Li's avatar Coly Li Committed by Eric Miao
Browse files

[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: default avatarColy Li <coly.li@suse.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarEric Miao <eric.miao@marvell.com>
parent 0e1b74df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();
}