commit | 049f8d6f4acc0eff71c9db5c3ca6276b56ce3357 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Dec 28 10:44:59 2019 -0700 |
committer | Tom Rini <trini@konsulko.com> | Fri Jan 17 13:27:30 2020 -0500 |
tree | 2154f2d48dc41af8358e9bb6597be90f479d11e5 | |
parent | d96c26040e901a1ab0264a105e61ee9dadbca701 [diff] [blame] |
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>
diff --git a/drivers/clk/clk_pic32.c b/drivers/clk/clk_pic32.c index b3ac0d5..79469c4 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>