On Mon, Sep 10, 2012 at 8:55 AM, Tom Warren <[email protected]> wrote: > With Simon Glass's include/nand.h alignment changes, some mxs builds > were generating errors. Fix is to ensure asm/cache.h is included before > linux/mtd/nand.h. Moving common.h to top of include list does that. > > Signed-off-by: Tom Warren <[email protected]>
Thanks Tom. Acked-by: Simon Glass <[email protected]> > --- > drivers/mtd/nand/mxs_nand.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/mtd/nand/mxs_nand.c b/drivers/mtd/nand/mxs_nand.c > index bf9414f..4701be8 100644 > --- a/drivers/mtd/nand/mxs_nand.c > +++ b/drivers/mtd/nand/mxs_nand.c > @@ -25,10 +25,10 @@ > * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. > */ > > +#include <common.h> > #include <linux/mtd/mtd.h> > #include <linux/mtd/nand.h> > #include <linux/types.h> > -#include <common.h> > #include <malloc.h> > #include <asm/errno.h> > #include <asm/io.h> > -- > 1.7.0.4 > _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

