mirror of
https://github.com/torvalds/linux.git
synced 2024-11-02 10:11:36 +00:00
[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:
parent
7bd0f2f5fc
commit
b4380b8e58
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user