From: Jean-Christophe PLAGNIOL-VILLARD Date: Sun, 17 Feb 2008 13:15:30 +0000 (+0100) Subject: at91cap9adk: fix implicit declaration of function 'eth_init' X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=64d792063fff90b8118179b092feee09fe5cae13;p=u-boot.git at91cap9adk: fix implicit declaration of function 'eth_init' Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- diff --git a/board/atmel/at91cap9adk/at91cap9adk.c b/board/atmel/at91cap9adk/at91cap9adk.c index bde6aa97f6..52e62deaed 100644 --- a/board/atmel/at91cap9adk/at91cap9adk.c +++ b/board/atmel/at91cap9adk/at91cap9adk.c @@ -24,6 +24,9 @@ #include #include +#if defined(CONFIG_RESET_PHY_R) && defined(CONFIG_MACB) +#include +#endif #define MP_BLOCK_3_BASE 0xFDF00000