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>
diff --git a/include/env.h b/include/env.h
index 2e9a850..8082f7a 100644
--- a/include/env.h
+++ b/include/env.h
@@ -182,4 +182,9 @@
*/
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 0de9d3f..7be1ef9 100644
--- a/include/environment.h
+++ b/include/environment.h
@@ -320,11 +320,6 @@
*/
int env_erase(void);
-/**
- * env_fix_drivers() - Updates envdriver as per relocation
- */
-void env_fix_drivers(void);
-
#endif /* DO_DEPS_ONLY */
#endif /* _ENVIRONMENT_H_ */