summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-01 09:46:55 -0600
committerTom Rini <trini@konsulko.com>2019-08-11 16:43:41 -0400
commit03ed91887fa8da9d34a3921c1e111b28dff47a26 (patch)
treeaddbe5e70106f92c0ce88d18d6cffce0fdfed48f
parent36c8b143c0c113232bcf47d6499a3982fdfaf98a (diff)
env: Move env_fix_drivers() to env.h
Move this function over to the new header file. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--include/env.h5
-rw-r--r--include/environment.h5
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_ */