[U-Boot] [PATCH] flash.h: pull in common.h for types

Wolfgang Denk wd at denx.de
Mon Nov 16 22:31:27 CET 2009


Dear Mike Frysinger,

In message <1258401513-16014-1-git-send-email-vapier at gentoo.org> you wrote:
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
>  include/flash.h |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/include/flash.h b/include/flash.h
> index c5e7bf4..886d8ef 100644
> --- a/include/flash.h
> +++ b/include/flash.h
> @@ -25,6 +25,9 @@
>  #define _FLASH_H_
>  
>  #ifndef CONFIG_SYS_NO_FLASH
> +
> +#include <common.h>
> +

Why would that be needed? Which problem are you trying to solve?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Always leave room to add an explanation if it doesn't work out.


More information about the U-Boot mailing list