diff options
author | Simon Glass <sjg@chromium.org> | 2017-08-03 12:22:14 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-16 08:30:44 -0400 |
commit | 35affd7a2ff9a77b9946bf93b616228fcf218d60 (patch) | |
tree | 812b1f6919c36821364b863d9b35ad7497d392bb /net/eth_legacy.c | |
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 'net/eth_legacy.c')
-rw-r--r-- | net/eth_legacy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/eth_legacy.c b/net/eth_legacy.c index 5d29d3483b..be0cf64a3d 100644 --- a/net/eth_legacy.c +++ b/net/eth_legacy.c @@ -137,7 +137,7 @@ int eth_write_hwaddr(struct eth_device *dev, const char *base_name, unsigned char env_enetaddr[ARP_HLEN]; int ret = 0; - eth_getenv_enetaddr_by_index(base_name, eth_number, env_enetaddr); + eth_env_get_enetaddr_by_index(base_name, eth_number, env_enetaddr); if (!is_zero_ethaddr(env_enetaddr)) { if (!is_zero_ethaddr(dev->enetaddr) && |