diff options
author | Simon Glass | 2017-08-03 12:22:14 -0600 |
---|---|---|
committer | Tom Rini | 2017-08-16 08:30:44 -0400 |
commit | 35affd7a2ff9a77b9946bf93b616228fcf218d60 (patch) | |
tree | 812b1f6919c36821364b863d9b35ad7497d392bb /include | |
parent | bfebc8c965e41d62dc6355d09bdd63ca57011b99 (diff) |
env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr()
Rename this function for consistency with env_get().
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/net.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net.h b/include/net.h index 376cc1ebfc4..a6f90826531 100644 --- a/include/net.h +++ b/include/net.h @@ -239,7 +239,7 @@ void eth_set_current(void); /* set nterface to ethcur var */ int eth_get_dev_index(void); /* get the device index */ void eth_parse_enetaddr(const char *addr, uchar *enetaddr); -int eth_getenv_enetaddr(const char *name, uchar *enetaddr); +int eth_env_get_enetaddr(const char *name, uchar *enetaddr); int eth_env_set_enetaddr(const char *name, const uchar *enetaddr); /** @@ -275,7 +275,7 @@ int usb_ether_init(void); * Returns: * Return true if the address is valid. */ -int eth_getenv_enetaddr_by_index(const char *base_name, int index, +int eth_env_get_enetaddr_by_index(const char *base_name, int index, uchar *enetaddr); int eth_init(void); /* Initialize the device */ |