commit | 495a5dc9e2d8e0d56274f3f1788e0c5b2c8f1ec6 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Nov 14 12:57:30 2019 -0700 |
committer | Tom Rini <trini@konsulko.com> | Mon Dec 02 18:23:13 2019 -0500 |
tree | 3e76715bb70bfe6019e0b2bbb7f665b5b7830b8d | |
parent | 2e3b8a2f9267060d0fd2163d2407f263b74e22c1 [diff] [blame] |
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>
diff --git a/drivers/spi/zynq_spi.c b/drivers/spi/zynq_spi.c index 2a02942..0b2b2f4 100644 --- a/drivers/spi/zynq_spi.c +++ b/drivers/spi/zynq_spi.c
@@ -10,6 +10,7 @@ #include <dm.h> #include <malloc.h> #include <spi.h> +#include <time.h> #include <asm/io.h> DECLARE_GLOBAL_DATA_PTR;