summaryrefslogtreecommitdiff
path: root/arch/mips/mach-jz47xx
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-11-14 12:57:30 -0700
committerTom Rini <trini@konsulko.com>2019-12-02 18:23:13 -0500
commit1045315df0f1bed617f0ee01379a10f543cec501 (patch)
tree3e76715bb70bfe6019e0b2bbb7f665b5b7830b8d /arch/mips/mach-jz47xx
parentf0143a86af1cafff17ac9893015374f0f2f6ae06 (diff)
common: Move get_ticks() function out of common.h
This function belongs in time.h so move it over and add a comment. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/mips/mach-jz47xx')
-rw-r--r--arch/mips/mach-jz47xx/jz4780/timer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/mach-jz47xx/jz4780/timer.c b/arch/mips/mach-jz47xx/jz4780/timer.c
index a689b9d71ac..988ebd26715 100644
--- a/arch/mips/mach-jz47xx/jz4780/timer.c
+++ b/arch/mips/mach-jz47xx/jz4780/timer.c
@@ -9,6 +9,7 @@
#include <config.h>
#include <common.h>
#include <div64.h>
+#include <time.h>
#include <asm/io.h>
#include <asm/mipsregs.h>
#include <mach/jz4780.h>