aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorSimon Glass2019-11-14 12:57:26 -0700
committerTom Rini2019-12-02 18:23:11 -0500
commit6887c5bed9d7dc26f8dbd196a5878c9c4a128d94 (patch)
treed121bf5587037ff6cb28356d764809c2f808b909 /drivers/i2c
parent6c03f9e618f4a94900bdd5857117811e21ffb959 (diff)
common: Move some time functions out of common.h
These functions belong in time.h so move them over and add comments. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/fsl_i2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/fsl_i2c.c b/drivers/i2c/fsl_i2c.c
index bf8d52d5ad5..bbbd6ef5bfd 100644
--- a/drivers/i2c/fsl_i2c.c
+++ b/drivers/i2c/fsl_i2c.c
@@ -9,6 +9,7 @@
#include <common.h>
#include <command.h>
#include <i2c.h> /* Functional interface */
+#include <time.h>
#include <asm/io.h>
#include <asm/fsl_i2c.h> /* HW definitions */
#include <clk.h>