summaryrefslogtreecommitdiff
path: root/board/compulab/cl-som-am57x
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-08-03 12:22:14 -0600
committerTom Rini <trini@konsulko.com>2017-08-16 08:30:44 -0400
commit35affd7a2ff9a77b9946bf93b616228fcf218d60 (patch)
tree812b1f6919c36821364b863d9b35ad7497d392bb /board/compulab/cl-som-am57x
parentbfebc8c965e41d62dc6355d09bdd63ca57011b99 (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 'board/compulab/cl-som-am57x')
-rw-r--r--board/compulab/cl-som-am57x/eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/compulab/cl-som-am57x/eth.c b/board/compulab/cl-som-am57x/eth.c
index 0ad10056fe..b615fb9e7e 100644
--- a/board/compulab/cl-som-am57x/eth.c
+++ b/board/compulab/cl-som-am57x/eth.c
@@ -95,7 +95,7 @@ static int cl_som_am57x_handle_mac_address(char *env_name, uint port_num)
int ret;
uint8_t enetaddr[6];
- ret = eth_getenv_enetaddr(env_name, enetaddr);
+ ret = eth_env_get_enetaddr(env_name, enetaddr);
if (ret)
return 0;