summaryrefslogtreecommitdiff
path: root/arch/arm/mach-davinci/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-davinci/misc.c')
-rw-r--r--arch/arm/mach-davinci/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/misc.c b/arch/arm/mach-davinci/misc.c
index ec331ba6bb8..4441242cc76 100644
--- a/arch/arm/mach-davinci/misc.c
+++ b/arch/arm/mach-davinci/misc.c
@@ -99,7 +99,7 @@ void davinci_sync_env_enetaddr(uint8_t *rom_enetaddr)
debug("### Setting environment from EEPROM MAC address = "
"\"%pM\"\n",
env_enetaddr);
- ret = !eth_setenv_enetaddr("ethaddr", rom_enetaddr);
+ ret = !eth_env_set_enetaddr("ethaddr", rom_enetaddr);
}
if (!ret)
printf("Failed to set mac address from EEPROM: %d\n", ret);