Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7036d64 authored by Yi Li's avatar Yi Li Committed by Mike Frysinger
Browse files

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: default avatarYi Li <yi.li@analog.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 3a022ba9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();
}