From: Sandeep Paulraj <s-paul...@ti.com>

We get a compliation warning when we enable the NAND driver
for DM355 leopard. The waring we get is that we have
an implicit declaration of davinci_nand_init.

It is fixed by including the asm/arch/nand_defs.h header file

Signed-off-by: Sandeep Paulraj <s-paul...@ti.com>
---
 board/davinci/dm355leopard/dm355leopard.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/board/davinci/dm355leopard/dm355leopard.c 
b/board/davinci/dm355leopard/dm355leopard.c
index 7350e8d..e89786e 100644
--- a/board/davinci/dm355leopard/dm355leopard.c
+++ b/board/davinci/dm355leopard/dm355leopard.c
@@ -21,6 +21,7 @@
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/gpio_defs.h>
+#include <asm/arch/nand_defs.h>
 #include "../common/misc.h"
 #include <net.h>
 #include <netdev.h>
-- 
1.6.0.4

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to