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

To avoid compile-time warning, added parameter to the stmp3xxx_clock_read

Signed-off-by: dmitry pervushin <dpervushin@embeddedalley.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
dmitry pervushin 2009-05-03 16:49:26 +01:00 committed by Russell King
parent 7bd0f2f5fc
commit b4380b8e58

View File

@ -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);
}