summaryrefslogtreecommitdiff
path: root/disk
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 /disk
parent9fb625ce05539fe6876a59ce1dcadb76b33c6f6e (diff)
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 'disk')
-rw-r--r--disk/part.c1
-rw-r--r--disk/part_amiga.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/disk/part.c b/disk/part.c
index 7e84214731..8982ef3bae 100644
--- a/disk/part.c
+++ b/disk/part.c
@@ -6,6 +6,7 @@
#include <common.h>
#include <command.h>
+#include <env.h>
#include <errno.h>
#include <ide.h>
#include <malloc.h>
diff --git a/disk/part_amiga.c b/disk/part_amiga.c
index 86d008d476..5a2bb718b5 100644
--- a/disk/part_amiga.c
+++ b/disk/part_amiga.c
@@ -6,6 +6,7 @@
*/
#include <common.h>
#include <command.h>
+#include <env.h>
#include <ide.h>
#include "part_amiga.h"