summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2018-06-07 06:00:45 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2018-06-11 08:54:10 +0200
commitb6b050e3284f6e3ff993a8cec9d56c082451a800 (patch)
tree7fc4834ec83214424a7624801152b013d7518ba4 /drivers/clocksource
parent4189f2088cfb5c34846e26ffd10bffab0b5bb247 (diff)
downloadbarebox-b6b050e3284f6e3ff993a8cec9d56c082451a800.tar.gz
barebox-b6b050e3284f6e3ff993a8cec9d56c082451a800.tar.xz
clocksource: armv8-timer: Make armv8_clocksource_read() static
There are no users of that function outside of the driver itself, so re-declare it as static. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r--drivers/clocksource/armv8-timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/armv8-timer.c b/drivers/clocksource/armv8-timer.c
index c5306dcd24..5e0b9ef3ca 100644
--- a/drivers/clocksource/armv8-timer.c
+++ b/drivers/clocksource/armv8-timer.c
@@ -20,7 +20,7 @@
#include <io.h>
#include <asm/system.h>
-uint64_t armv8_clocksource_read(void)
+static uint64_t armv8_clocksource_read(void)
{
return get_cntpct();
}