mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
env: Rename eth_setenv_enetaddr() to eth_env_set_enetaddr()
Rename this function for consistency with env_set(). Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
018f530323
commit
fd1e959e91
58 changed files with 83 additions and 83 deletions
|
@ -13,7 +13,7 @@
|
|||
void eth_common_init(void);
|
||||
|
||||
/**
|
||||
* eth_setenv_enetaddr_by_index() - set the MAC address environment variable
|
||||
* eth_env_set_enetaddr_by_index() - set the MAC address environment variable
|
||||
*
|
||||
* This sets up an environment variable with the given MAC address (@enetaddr).
|
||||
* The environment variable to be set is defined by <@base_name><@index>addr.
|
||||
|
@ -25,7 +25,7 @@ void eth_common_init(void);
|
|||
* @enetaddr: Pointer to MAC address to put into the variable
|
||||
* @return 0 if OK, other value on error
|
||||
*/
|
||||
int eth_setenv_enetaddr_by_index(const char *base_name, int index,
|
||||
int eth_env_set_enetaddr_by_index(const char *base_name, int index,
|
||||
uchar *enetaddr);
|
||||
|
||||
int eth_mac_skip(int index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue