From: Yi Li Date: Tue, 15 Sep 2009 02:08:50 +0000 (+0000) Subject: Blackfin: fix gptimer0 clock source compile warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f7036d649c88ad14b482b2787ffb1063c8a719d7;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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(); }