oops -- forgot to attach the patch. Since it's tiny, I'll just post it in-line:<div><br></div><div><div>Index: chipdrivers.h</div><div>===================================================================</div><div>--- chipdrivers.h       (revision 1247)</div>

<div>+++ chipdrivers.h       (working copy)</div><div>@@ -25,6 +25,10 @@</div><div> #ifndef __CHIPDRIVERS_H__</div><div> #define __CHIPDRIVERS_H__ 1</div><div> </div><div>+#include <inttypes.h></div><div>+</div><div>

+#include "flash.h"     /* for chipaddr and flashchip */</div><div>+</div><div> /* spi.c, should probably be in spi_chip.c */</div><div> int probe_spi_rdid(struct flashchip *flash);</div><div> int probe_spi_rdid4(struct flashchip *flash);</div>

<div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8">Signed-off-by: David Hendricks <<a href="mailto:dhendrix@google.com" target="_blank">dhendrix@google.com</a>><br><br><div class="gmail_quote">

On Wed, Dec 15, 2010 at 2:05 PM, David Hendricks <span dir="ltr"><<a href="mailto:dhendrix@google.com">dhendrix@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

This patch is intended to avoid compilation issues caused by the ordering of #includes in source files that use chipdrivers.h.<div><br></div><div>Signed-off-by: David Hendricks <<a href="mailto:dhendrix@google.com" target="_blank">dhendrix@google.com</a>><br clear="all">


<br>-- <br>David Hendricks (dhendrix)<br>Systems Software Engineer, Google Inc.<br>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>David Hendricks (dhendrix)<br>Systems Software Engineer, Google Inc.<br>
</div></div>