summaryrefslogtreecommitdiff
path: root/lib_arm
diff options
context:
space:
mode:
Diffstat (limited to 'lib_arm')
-rw-r--r--lib_arm/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib_arm/board.c b/lib_arm/board.c
index fce188d..d6864bc 100644
--- a/lib_arm/board.c
+++ b/lib_arm/board.c
@@ -443,8 +443,8 @@ extern void davinci_eth_set_mac_addr (const u_int8_t *addr);
#endif /* CONFIG_DRIVER_SMC91111 || CONFIG_DRIVER_LAN91C96 */
#if defined(CONFIG_ENC28J60_ETH) && !defined(CONFIG_ETHADDR)
- extern void enc_set_mac_addr (uchar *addr);
- enc_set_mac_addr (gd->bd->bi_enetaddr);
+ extern void enc_set_mac_addr (void);
+ enc_set_mac_addr ();
#endif /* CONFIG_ENC28J60_ETH && !CONFIG_ETHADDR*/
/* Initialize from environment */