summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-09-10 16:59:02 +0200
committerWolfgang Denk <wd@denx.de>2011-09-10 17:00:51 +0200
commitbd6ce9d171b45465daa23bede5214100dd8b5eba (patch)
tree6703aa59ea7b560e56ce58ba2c20bf4d9250114d /board
parent3aa7782ac4fa78a159479060495c469cbf0c5a84 (diff)
downloadu-boot-imx-bd6ce9d171b45465daa23bede5214100dd8b5eba.zip
u-boot-imx-bd6ce9d171b45465daa23bede5214100dd8b5eba.tar.gz
u-boot-imx-bd6ce9d171b45465daa23bede5214100dd8b5eba.tar.bz2
cm4008, cm41xx: fix build warnings
Fix these: cm4008.c: In function 'board_eth_init': cm4008.c:79: warning: implicit declaration of function 'ks8695_eth_initialize' cm41xx.c: In function 'board_eth_init': cm41xx.c:79: warning: implicit declaration of function 'ks8695_eth_initialize' While we are at it, sort include list in netdev.h Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Greg Ungerer <greg.ungerer@opengear.com>
Diffstat (limited to 'board')
-rw-r--r--board/cm4008/cm4008.c1
-rw-r--r--board/cm41xx/cm41xx.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/board/cm4008/cm4008.c b/board/cm4008/cm4008.c
index 2e8d948..ed493a8 100644
--- a/board/cm4008/cm4008.c
+++ b/board/cm4008/cm4008.c
@@ -30,6 +30,7 @@
#include <common.h>
#include <asm/arch/platform.h>
+#include <netdev.h>
DECLARE_GLOBAL_DATA_PTR;
diff --git a/board/cm41xx/cm41xx.c b/board/cm41xx/cm41xx.c
index 72fd64d..d9dff4e 100644
--- a/board/cm41xx/cm41xx.c
+++ b/board/cm41xx/cm41xx.c
@@ -30,6 +30,7 @@
#include <common.h>
#include <asm/arch/platform.h>
+#include <netdev.h>
DECLARE_GLOBAL_DATA_PTR;