[ARM] 5501/1: Freescale STMP: fix compilation warning
authordmitry pervushin <dpervushin@embeddedalley.com>
Sun, 3 May 2009 15:49:26 +0000 (16:49 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 7 May 2009 14:25:57 +0000 (15:25 +0100)
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>
arch/arm/plat-stmp3xxx/timer.c

index c916068f0cabe668f924f84288176c49eeca5443..7d872f0aee70d508fd606a3b78b60b5540ef930c 100644 (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);
 }