On Monday 16 November 2009 16:31:27 Wolfgang Denk wrote:
> Mike Frysinger wrote:
> > Signed-off-by: Mike Frysinger <vap...@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?

like the subject very briefly says, 'for types'.  if your source code includes 
flash.h before anything else, it'll fail to compile as flash.h uses types not 
declared implicitly by the compiler.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to