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

Simon Glass
2019-08-01T15:46:55Z

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(-)

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_ */
--
2.22.0.709.g102302147b-goog