summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-01 09:46:47 -0600
committerTom Rini <trini@konsulko.com>2019-08-11 16:43:41 -0400
commit168068fb3d7da3d95bf37b21f39347f48d38497f (patch)
treef67394a7a39bb129368ba8df6c7978f4b0a0c344 /drivers
parentc7694dd4837ba12db3bcda872a1047a44566e0e8 (diff)
env: Move env_set_ulong() to env.h
Move env_set_ulong() over to the new header file. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/bootcount/bootcount_env.c1
-rw-r--r--drivers/scsi/scsi.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/bootcount/bootcount_env.c b/drivers/bootcount/bootcount_env.c
index 9084ca8a6e..50e0857b3b 100644
--- a/drivers/bootcount/bootcount_env.c
+++ b/drivers/bootcount/bootcount_env.c
@@ -5,6 +5,7 @@
*/
#include <common.h>
+#include <env.h>
#include <environment.h>
void bootcount_store(ulong a)
diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c
index 75900d8228..48cb2a2818 100644
--- a/drivers/scsi/scsi.c
+++ b/drivers/scsi/scsi.c
@@ -6,6 +6,7 @@
#include <common.h>
#include <dm.h>
+#include <env.h>
#include <pci.h>
#include <scsi.h>
#include <dm/device-internal.h>