cmc_pu2: fix implicit declaration of function 'eth_setenv_enetaddr'
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sun, 22 Mar 2009 13:28:14 +0000 (14:28 +0100)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sun, 22 Mar 2009 13:28:14 +0000 (14:28 +0100)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
board/cmc_pu2/load_sernum_ethaddr.c

index f02406c1aff78ed7b2edc4489f0481183b2d38dc..6f85dd95b3879d3ba5c2ef70f540f29e9646f1a6 100644 (file)
@@ -27,6 +27,7 @@
 /* #define DEBUG */
 
 #include <common.h>
+#include <net.h>
 
 #define I2C_CHIP       0x50    /* I2C bus address of onboard EEPROM */
 #define I2C_ALEN       1       /* length of EEPROM addresses in bytes */