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

Wolfgang Denk
2009-11-16T21:31:27Z

Dear Mike Frysinger,

In message <1258401513-16014-1-git-send-email-vapier@gentoo.org> you wrote:
> Signed-off-by: Mike Frysinger <vapier@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.