浏览代码

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>
Sandeep Paulraj 15 年之前
父节点
当前提交
fac1ef4ba6
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      board/davinci/dm355leopard/dm355leopard.c

+ 1 - 0
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>