Commit b4380b8e authored by dmitry pervushin's avatar dmitry pervushin Committed by Russell King

[ARM] 5501/1: Freescale STMP: fix compilation warning

To avoid compile-time warning, added parameter to the stmp3xxx_clock_read
Signed-off-by: default avatardmitry pervushin <dpervushin@embeddedalley.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 7bd0f2f5
......@@ -45,7 +45,7 @@ stmp3xxx_timer_interrupt(int irq, void *dev_id)
return IRQ_HANDLED;
}
static cycle_t stmp3xxx_clock_read(void)
static cycle_t stmp3xxx_clock_read(struct clocksource *cs)
{
return ~((HW_TIMROT_TIMCOUNTn_RD(1) & 0xFFFF0000) >> 16);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment