summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/efi_x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clocksource/efi_x86.c')
-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;