]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
at91cap9adk: fix implicit declaration of function 'eth_init'
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sun, 17 Feb 2008 13:15:30 +0000 (14:15 +0100)
committerWolfgang Denk <wd@denx.de>
Sun, 17 Feb 2008 15:03:20 +0000 (16:03 +0100)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
board/atmel/at91cap9adk/at91cap9adk.c

index bde6aa97f6473062a4be1fbe1985267e7d9ff3b0..52e62deaedfd2fe1645ac4018888917204e1d075 100644 (file)
@@ -24,6 +24,9 @@
 
 #include <common.h>
 #include <asm/arch/AT91CAP9.h>
+#if defined(CONFIG_RESET_PHY_R) && defined(CONFIG_MACB)
+#include <net.h>
+#endif
 
 #define MP_BLOCK_3_BASE        0xFDF00000