diff mbox series

[U-Boot,v2,20/40] env: Move env_fix_drivers() to env.h

Message ID 20190801154715.225318-21-sjg@chromium.org
State Accepted
Commit 03ed91887fa8da9d34a3921c1e111b28dff47a26
Delegated to: Tom Rini
Headers show
Series env: common: Remove environment definitions from common.h | expand

Commit Message

Simon Glass Aug. 1, 2019, 3:46 p.m. UTC
Move this function over to the new header file.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

Changes in v2:
- Adjust patch to leave eth_parse_enetaddr() alone

 include/env.h         | 5 +++++
 include/environment.h | 5 -----
 2 files changed, 5 insertions(+), 5 deletions(-)

Comments

Joe Hershberger Aug. 2, 2019, 4:46 p.m. UTC | #1
On Thu, Aug 1, 2019 at 10:55 AM Simon Glass <sjg@chromium.org> wrote:
>
> Move this function over to the new header file.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>

Acked-by :Joe Hershberger <joe.hershberger@ni.com>
Tom Rini Aug. 13, 2019, 4:54 p.m. UTC | #2
On Thu, Aug 01, 2019 at 09:46:55AM -0600, Simon Glass wrote:

> Move this function over to the new header file.
> 
> Signed-off-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/include/env.h b/include/env.h
index 2e9a850284..8082f7a0eb 100644
--- a/include/env.h
+++ b/include/env.h
@@ -182,4 +182,9 @@  int eth_env_get_enetaddr(const char *name, uint8_t *enetaddr);
  */
 int eth_env_set_enetaddr(const char *name, const uint8_t *enetaddr);
 
+/**
+ * env_fix_drivers() - Updates envdriver as per relocation
+ */
+void env_fix_drivers(void);
+
 #endif
diff --git a/include/environment.h b/include/environment.h
index 0de9d3fc60..7be1ef98ad 100644
--- a/include/environment.h
+++ b/include/environment.h
@@ -320,11 +320,6 @@  int env_save(void);
  */
 int env_erase(void);
 
-/**
- * env_fix_drivers() - Updates envdriver as per relocation
- */
-void env_fix_drivers(void);
-
 #endif /* DO_DEPS_ONLY */
 
 #endif /* _ENVIRONMENT_H_ */