aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/lan91c96.c
diff options
context:
space:
mode:
authorSimon Glass2017-08-03 12:22:11 -0600
committerTom Rini2017-08-16 08:23:56 -0400
commitfd1e959e91d2b0b2e853d09dd9167dfff18a616c (patch)
tree1d59086cd330cd9c061521f9564edfb9d75e1dc9 /drivers/net/lan91c96.c
parent018f530323b2cc41be05be5b12375d3648f06554 (diff)
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>
Diffstat (limited to 'drivers/net/lan91c96.c')
-rw-r--r--drivers/net/lan91c96.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/lan91c96.c b/drivers/net/lan91c96.c
index 3526876d141..255c7010cc6 100644
--- a/drivers/net/lan91c96.c
+++ b/drivers/net/lan91c96.c
@@ -710,7 +710,7 @@ static int smc_get_ethaddr(bd_t *bd, struct eth_device *dev)
printf("\n*** ERROR: ethaddr is NOT set !!\n");
return -1;
}
- eth_setenv_enetaddr("ethaddr", v_mac);
+ eth_env_set_enetaddr("ethaddr", v_mac);
}
smc_set_mac_addr(v_mac); /* use old function to update smc default */