summaryrefslogtreecommitdiff
path: root/drivers/net/fm/b4860.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/fm/b4860.c')
-rw-r--r--drivers/net/fm/b4860.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fm/b4860.c b/drivers/net/fm/b4860.c
index 5aeeb872824..3245bee473a 100644
--- a/drivers/net/fm/b4860.c
+++ b/drivers/net/fm/b4860.c
@@ -97,7 +97,7 @@ phy_interface_t fman_port_enet_if(enum fm_port port)
* Extract hwconfig from environment since environment
* is not setup yet
*/
- getenv_f("hwconfig", buffer, sizeof(buffer));
+ env_get_f("hwconfig", buffer, sizeof(buffer));
buf = buffer;
/* check if XFI interface enable in hwconfig for 10g */