summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2019-02-15 10:00:37 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-02-18 14:25:05 +0100
commit5f7ed0da830d40fd738068d0fe5613076f3a4631 (patch)
tree1b095a3140ccad1af4976c33f165d879e8c37e40 /drivers/clocksource
parentd1bebc03b3005b33da3d1541782bb037974d1486 (diff)
downloadbarebox-5f7ed0da830d40fd738068d0fe5613076f3a4631.tar.gz
barebox-5f7ed0da830d40fd738068d0fe5613076f3a4631.tar.xz
efi: cleanups
make local functions static and remove unused code Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r--drivers/clocksource/efi_x86.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clocksource/efi_x86.c b/drivers/clocksource/efi_x86.c
index 4d2657ea1d..f8d3ff8a43 100644
--- a/drivers/clocksource/efi_x86.c
+++ b/drivers/clocksource/efi_x86.c
@@ -6,7 +6,7 @@
#include <clock.h>
#ifdef __x86_64__
-uint64_t ticks_read(void)
+static uint64_t ticks_read(void)
{
uint64_t a, d;
@@ -15,7 +15,7 @@ uint64_t ticks_read(void)
return (d << 32) | a;
}
#else
-uint64_t ticks_read(void)
+static uint64_t ticks_read(void)
{
uint64_t val;