From: Yi Li Date: Tue, 15 Sep 2009 02:08:50 +0000 (+0000) Subject: Blackfin: fix gptimer0 clock source compile warning X-Git-Tag: v2.6.33-rc1~53^2~85 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f7036d649c88ad14b482b2787ffb1063c8a719d7;p=karo-tx-linux.git Blackfin: fix gptimer0 clock source compile warning 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 Signed-off-by: Mike Frysinger --- diff --git a/arch/blackfin/kernel/time-ts.c b/arch/blackfin/kernel/time-ts.c index 359cfb1815ca..a54e569e3b62 100644 --- a/arch/blackfin/kernel/time-ts.c +++ b/arch/blackfin/kernel/time-ts.c @@ -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(); }