Blackfin: fix gptimer0 clock source compile warning
authorYi Li <yi.li@analog.com>
Tue, 15 Sep 2009 02:08:50 +0000 (02:08 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 15 Dec 2009 05:13:38 +0000 (00:13 -0500)
Some of the clocksource prototypes were updated, but the gptimer0 func was
missed in the process.  Not a big issue as the argument is ignored, but we
should fix the compile warning anyways.

Signed-off-by: Yi Li <yi.li@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/time-ts.c

index 359cfb1815ca77c00c4adcebbe1101a7e76da227..a54e569e3b626b2a193e0f84ddbf73d97ef2cfc3 100644 (file)
@@ -108,7 +108,7 @@ void __init setup_gptimer0(void)
        enable_gptimers(TIMER0bit);
 }
 
-static cycle_t bfin_read_gptimer0(void)
+static cycle_t bfin_read_gptimer0(struct clocksource *cs)
 {
        return bfin_read_TIMER0_COUNTER();
 }