Browse Source

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 <yi.li@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Yi Li 15 years ago
parent
commit
f7036d649c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/blackfin/kernel/time-ts.c

+ 1 - 1
arch/blackfin/kernel/time-ts.c

@@ -108,7 +108,7 @@ void __init setup_gptimer0(void)
 	enable_gptimers(TIMER0bit);
 	enable_gptimers(TIMER0bit);
 }
 }
 
 
-static cycle_t bfin_read_gptimer0(void)
+static cycle_t bfin_read_gptimer0(struct clocksource *cs)
 {
 {
 	return bfin_read_TIMER0_COUNTER();
 	return bfin_read_TIMER0_COUNTER();
 }
 }