diff options
author | Simon Glass <sjg@chromium.org> | 2019-08-01 09:46:52 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-08-11 16:43:41 -0400 |
commit | 7b51b576d6db714e8668a98de67e93651e18123c (patch) | |
tree | 568a39b82f10fabc191cfe6da0fa6e17c251bd08 /drivers/usb/gadget | |
parent | 9fb625ce05539fe6876a59ce1dcadb76b33c6f6e (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 'drivers/usb/gadget')
-rw-r--r-- | drivers/usb/gadget/designware_udc.c | 1 | ||||
-rw-r--r-- | drivers/usb/gadget/f_dfu.c | 1 | ||||
-rw-r--r-- | drivers/usb/gadget/f_fastboot.c | 1 | ||||
-rw-r--r-- | drivers/usb/gadget/f_rockusb.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/gadget/designware_udc.c b/drivers/usb/gadget/designware_udc.c index fa947dade68..432f312cee4 100644 --- a/drivers/usb/gadget/designware_udc.c +++ b/drivers/usb/gadget/designware_udc.c @@ -10,6 +10,7 @@ #include <common.h> #include <asm/io.h> +#include <env.h> #include <usbdevice.h> #include "ep0.h" #include <usb/designware_udc.h> diff --git a/drivers/usb/gadget/f_dfu.c b/drivers/usb/gadget/f_dfu.c index e27f1466052..67561551330 100644 --- a/drivers/usb/gadget/f_dfu.c +++ b/drivers/usb/gadget/f_dfu.c @@ -14,6 +14,7 @@ * (C) Copyright 2006 by Harald Welte <hwelte at hmw-consulting.de> */ +#include <env.h> #include <errno.h> #include <common.h> #include <malloc.h> diff --git a/drivers/usb/gadget/f_fastboot.c b/drivers/usb/gadget/f_fastboot.c index 3ad4346f2d0..fc27dbe8de4 100644 --- a/drivers/usb/gadget/f_fastboot.c +++ b/drivers/usb/gadget/f_fastboot.c @@ -11,6 +11,7 @@ */ #include <config.h> #include <common.h> +#include <env.h> #include <errno.h> #include <fastboot.h> #include <malloc.h> diff --git a/drivers/usb/gadget/f_rockusb.c b/drivers/usb/gadget/f_rockusb.c index f3d24772cde..1cfeabcd31a 100644 --- a/drivers/usb/gadget/f_rockusb.c +++ b/drivers/usb/gadget/f_rockusb.c @@ -6,6 +6,7 @@ */ #include <config.h> #include <common.h> +#include <env.h> #include <errno.h> #include <malloc.h> #include <memalign.h> |