]> git.sur5r.net Git - u-boot/commitdiff
NAND: MXS: include common.h first so cache.h is included in correct order
authorTom Warren <twarren@nvidia.com>
Mon, 10 Sep 2012 15:47:51 +0000 (08:47 -0700)
committerTom Warren <twarren@nvidia.com>
Mon, 10 Sep 2012 22:31:11 +0000 (15:31 -0700)
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 <twarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Acked-by: Marek Vasut <marex@denx.de>
drivers/mtd/nand/mxs_nand.c

index bf9414fef1e91f0f95e15e7d5b315307d2e9eab4..4701be846c6f2005d4358cb1e4e6b9c6fd051d3f 100644 (file)
  * 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>