aboutsummaryrefslogtreecommitdiffstats
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 4441242cc7..461ff778c2 100644
--- a/arch/arm/mach-davinci/misc.c
+++ b/arch/arm/mach-davinci/misc.c
@@ -90,7 +90,7 @@ void davinci_sync_env_enetaddr(uint8_t *rom_enetaddr)
uint8_t env_enetaddr[6];
int ret;
- ret = eth_getenv_enetaddr_by_index("eth", 0, env_enetaddr);
+ ret = eth_env_get_enetaddr_by_index("eth", 0, env_enetaddr);
if (!ret) {
/*
* There is no MAC address in the environment, so we