Skip to content

Commit

Permalink
[ARM] 5501/1: Freescale STMP: fix compilation warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
dmitry pervushin authored and Russell King committed May 7, 2009
1 parent 7bd0f2f commit b4380b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/plat-stmp3xxx/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit b4380b8

Please sign in to comment.