TI DaVinci: DM355 Leopard: Fix compilation warning
authorSandeep Paulraj <s-paulraj@ti.com>
Tue, 13 Oct 2009 16:01:52 +0000 (12:01 -0400)
committerTom Rix <Tom.Rix@windriver.com>
Sat, 24 Oct 2009 14:55:24 +0000 (09:55 -0500)
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>
board/davinci/dm355leopard/dm355leopard.c

index 7350e8d083d973fb853082eefccbfb5a0427088f..e89786ed1a2b62d93142f0966c8cb247c6cd0513 100644 (file)
@@ -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>