From: Tom Warren Date: Mon, 10 Sep 2012 15:47:51 +0000 (-0700) Subject: NAND: MXS: include common.h first so cache.h is included in correct order X-Git-Tag: v2012.10-rc1~2^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=651eb7322407173d5f1ac5a149e381a4044858f4;p=platform%2Fkernel%2Fu-boot.git NAND: MXS: include common.h first so cache.h is included in correct order 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 Acked-by: Simon Glass Acked-by: Marek Vasut --- 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 #include #include #include -#include #include #include #include