From: Simon Glass Date: Thu, 1 Aug 2019 15:46:55 +0000 (-0600) Subject: env: Move env_fix_drivers() to env.h X-Git-Tag: v2019.10-rc2~4^2~20 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=03ed91887fa8da9d34a3921c1e111b28dff47a26;p=oweals%2Fu-boot.git env: Move env_fix_drivers() to env.h Move this function over to the new header file. Signed-off-by: Simon Glass --- 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_ */