summaryrefslogtreecommitdiff
path: root/drivers/clk
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 10:44:59 -0700
committerTom Rini <trini@konsulko.com>2020-01-17 13:27:30 -0500
commit049f8d6f4acc0eff71c9db5c3ca6276b56ce3357 (patch)
tree2154f2d48dc41af8358e9bb6597be90f479d11e5 /drivers/clk
parentd96c26040e901a1ab0264a105e61ee9dadbca701 (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 'drivers/clk')
-rw-r--r--drivers/clk/clk_pic32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/clk_pic32.c b/drivers/clk/clk_pic32.c
index b3ac0d5a92..79469c454f 100644
--- a/drivers/clk/clk_pic32.c
+++ b/drivers/clk/clk_pic32.c
@@ -8,6 +8,7 @@
#include <clk-uclass.h>
#include <dm.h>
#include <div64.h>
+#include <time.h>
#include <wait_bit.h>
#include <dm/lists.h>
#include <asm/io.h>