mirror of https://gitee.com/openkylin/linux.git
clocksource/drivers/timer-atmel-tcb: Convert tc_clksrc_suspend|resume() to static
Statisticize tc_clksrc_suspend and tc_clksrc_resume. Signed-off-by: kbuild test robot <lkp@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
This commit is contained in:
parent
a7aae76816
commit
7ebe681004
|
@ -66,7 +66,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;
|
||||
|
||||
|
@ -81,7 +81,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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue