From: Sandeep Paulraj <s-paulraj@ti.com>
Date: Tue, 13 Oct 2009 16:01:52 +0000 (-0400)
Subject: TI DaVinci: DM355 Leopard: Fix compilation warning
X-Git-Tag: v2025.01-rc5-pxa1908~20695^2^2~6
X-Git-Url: http://git.dujemihanovic.xyz/img/%7B%7B?a=commitdiff_plain;h=fac1ef4ba685606bf28349d18e050ea08b50e669;p=u-boot.git

TI DaVinci: DM355 Leopard: Fix compilation warning

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-paulraj@ti.com>
---

diff --git a/board/davinci/dm355leopard/dm355leopard.c b/board/davinci/dm355leopard/dm355leopard.c
index 7350e8d083..e89786ed1a 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>