Skip to content

Commit

Permalink
Blackfin: fix gptimer0 clock source compile warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yi Li authored and Mike Frysinger committed Dec 15, 2009
1 parent 3a022ba commit f7036d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/blackfin/kernel/time-ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit f7036d6

Please sign in to comment.