From b4380b8e5888e5ef5872e43b610c9dac4bf253ac Mon Sep 17 00:00:00 2001 From: dmitry pervushin Date: Sun, 3 May 2009 16:49:26 +0100 Subject: [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 Signed-off-by: Russell King --- arch/arm/plat-stmp3xxx/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/arm/plat-stmp3xxx') diff --git a/arch/arm/plat-stmp3xxx/timer.c b/arch/arm/plat-stmp3xxx/timer.c index c916068f0ca..7d872f0aee7 100644 --- a/arch/arm/plat-stmp3xxx/timer.c +++ b/arch/arm/plat-stmp3xxx/timer.c @@ -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); } -- cgit v1.2.3-70-g09d2