summaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-01 09:46:52 -0600
committerTom Rini <trini@konsulko.com>2019-08-11 16:43:41 -0400
commit7b51b576d6db714e8668a98de67e93651e18123c (patch)
tree568a39b82f10fabc191cfe6da0fa6e17c251bd08 /drivers/rtc
parent9fb625ce05539fe6876a59ce1dcadb76b33c6f6e (diff)
downloadu-boot-7b51b576d6db714e8668a98de67e93651e18123c.tar.gz
u-boot-7b51b576d6db714e8668a98de67e93651e18123c.tar.xz
u-boot-7b51b576d6db714e8668a98de67e93651e18123c.zip
env: Move env_get() to env.h
Move env_get() over to the new header file. Acked-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/m41t60.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/m41t60.c b/drivers/rtc/m41t60.c
index c84c8e11b3..532d2105e1 100644
--- a/drivers/rtc/m41t60.c
+++ b/drivers/rtc/m41t60.c
@@ -17,6 +17,7 @@
#include <common.h>
#include <command.h>
+#include <env.h>
#include <rtc.h>
#include <i2c.h>