[U-Boot] [PATCH 1/8] ColdFire: Fix board.c warning message

Scott Wood scottwood at freescale.com
Fri Aug 22 19:15:09 CEST 2008


On Thu, Aug 21, 2008 at 11:55:06PM +0000, Tsi-Chung Liew wrote:
> From: TsiChung Liew <Tsi-Chung.Liew at freescale.com>
> 
> Implicit declaration of nand_init() warning message
> 
> Signed-off-by: TsiChung Liew <Tsi-Chung.Liew at freescale.com>
> ---
>  lib_m68k/board.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/lib_m68k/board.c b/lib_m68k/board.c
> index e59c6b0..9f4442e 100644
> --- a/lib_m68k/board.c
> +++ b/lib_m68k/board.c
> @@ -63,6 +63,10 @@
>  #include <spi.h>
>  #endif
>  
> +#ifdef CONFIG_CMD_NAND
> +#include <nand.h>
> +#endif

The ifdef should not be necessary.

-Scott


More information about the U-Boot mailing list