[U-Boot] [PATCH] TI DaVinci: DM355 Leopard: Fix compilation warning
Paulraj, Sandeep
s-paulraj at ti.com
Tue Oct 13 20:35:03 CEST 2009
> From: Sandeep Paulraj <s-paulraj at 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-paulraj at 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
I'll take the liberty to push this to u-boot-ti master (2 hours after I submitted) in preparation for a pull request to Tom
More information about the U-Boot
mailing list