summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorkbuild test robot <lkp@intel.com>2019-04-26 23:47:17 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2019-05-02 21:55:58 +0200
commit7ebe68100418bd196cd4d638655e60d17c412d56 (patch)
treec07ddc80f76db7a2a4ada231fc7751dac98f499e /drivers
parenta7aae768166e1fff342cfe3ab506e657b7ea8044 (diff)
downloadlinux-stable-7ebe68100418bd196cd4d638655e60d17c412d56.tar.gz
linux-stable-7ebe68100418bd196cd4d638655e60d17c412d56.tar.bz2
linux-stable-7ebe68100418bd196cd4d638655e60d17c412d56.zip
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/clocksource/timer-atmel-tcb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clocksource/timer-atmel-tcb.c b/drivers/clocksource/timer-atmel-tcb.c
index 9de8c10ab546..6ed31f9def7e 100644
--- a/drivers/clocksource/timer-atmel-tcb.c
+++ b/drivers/clocksource/timer-atmel-tcb.c
@@ -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;