[U-Boot] [RFC 03/35] mtd: sunxi_nand_spl: Make proper order for include files

Jagan Teki jagan at amarulasolutions.com
Mon Jul 16 11:28:18 UTC 2018


Make proper ordering for include files to get rid
of build issues with arch/clock.h

Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
---
 drivers/mtd/nand/sunxi_nand_spl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/nand/sunxi_nand_spl.c b/drivers/mtd/nand/sunxi_nand_spl.c
index 6cde9814c4..3406761c1d 100644
--- a/drivers/mtd/nand/sunxi_nand_spl.c
+++ b/drivers/mtd/nand/sunxi_nand_spl.c
@@ -4,11 +4,11 @@
  * Copyright (c) 2015, AW-SOM Technologies <www.aw-som.com>
  */
 
-#include <asm/arch/clock.h>
-#include <asm/io.h>
 #include <common.h>
 #include <config.h>
 #include <nand.h>
+#include <asm/arch/clock.h>
+#include <asm/io.h>
 #include <linux/ctype.h>
 
 /* registers */
-- 
2.17.1



More information about the U-Boot mailing list