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

Commit bddee90a authored by YueHaibing's avatar YueHaibing Committed by Thomas Gleixner
Browse files

clocksource/drivers/tcb_clksrc: Make tc_clksrc_suspend/resume() static



Fix sparse warnings:

drivers/clocksource/tcb_clksrc.c:74:6: warning:
 symbol 'tc_clksrc_suspend' was not declared. Should it be static?
drivers/clocksource/tcb_clksrc.c:89:6: warning:
 symbol 'tc_clksrc_resume' was not declared. Should it be static?

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: <nicolas.ferre@microchip.com>
Cc: <daniel.lezcano@linaro.org>
Cc: <linux-arm-kernel@lists.infradead.org>
Link: https://lkml.kernel.org/r/20190322143940.12396-1-yuehaibing@huawei.com
parent d18a7408
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ static u64 tc_get_cycles32(struct clocksource *cs)
	return readl_relaxed(tcaddr + ATMEL_TC_REG(0, CV));
}

void tc_clksrc_suspend(struct clocksource *cs)
static void tc_clksrc_suspend(struct clocksource *cs)
{
	int i;

@@ -86,7 +86,7 @@ void tc_clksrc_suspend(struct clocksource *cs)
	bmr_cache = readl(tcaddr + ATMEL_TC_BMR);
}

void tc_clksrc_resume(struct clocksource *cs)
static void tc_clksrc_resume(struct clocksource *cs)
{
	int i;