aboutsummaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorSimon Glass2019-12-28 10:44:59 -0700
committerJagan Teki2020-01-24 23:06:49 +0530
commit98c338bcb66bc1f844d4d9523d786eb1db17d036 (patch)
tree2634057b78e7acff085bb9df4bd548c9b0de062f /arch/mips
parentb63ff2ae54a74e68fb67ea7f150e9f01174eb535 (diff)
common: Move get_tbclk() to time.h
This function related to timer and most of the timer functions are in time.h, so move this function there. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/cpu/time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/cpu/time.c b/arch/mips/cpu/time.c
index af324f77cef..a1508e3b886 100644
--- a/arch/mips/cpu/time.c
+++ b/arch/mips/cpu/time.c
@@ -5,6 +5,7 @@
*/
#include <common.h>
+#include <time.h>
#include <asm/mipsregs.h>
unsigned long notrace timer_read_counter(void)