env: Move env_fix_drivers() to env.h
authorSimon Glass <sjg@chromium.org>
Thu, 1 Aug 2019 15:46:55 +0000 (09:46 -0600)
committerTom Rini <trini@konsulko.com>
Sun, 11 Aug 2019 20:43:41 +0000 (16:43 -0400)
Move this function over to the new header file.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/env.h
include/environment.h

index 2e9a850..8082f7a 100644 (file)
@@ -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
index 0de9d3f..7be1ef9 100644 (file)
@@ -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_ */