[U-Boot] [RFC 02/35] net: sun8i_emac: Make proper order for include files

Jagan Teki jagan at amarulasolutions.com
Mon Jul 16 11:28:17 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/net/sun8i_emac.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/net/sun8i_emac.c b/drivers/net/sun8i_emac.c
index 3ba3a1ff8b..709b5e26bd 100644
--- a/drivers/net/sun8i_emac.c
+++ b/drivers/net/sun8i_emac.c
@@ -10,16 +10,16 @@
  *
 */
 
-#include <asm/io.h>
-#include <asm/arch/clock.h>
-#include <asm/arch/gpio.h>
 #include <common.h>
 #include <dm.h>
 #include <fdt_support.h>
-#include <linux/err.h>
 #include <malloc.h>
 #include <miiphy.h>
 #include <net.h>
+#include <asm/io.h>
+#include <asm/arch/clock.h>
+#include <asm/arch/gpio.h>
+#include <linux/err.h>
 #include <dt-bindings/pinctrl/sun4i-a10.h>
 #ifdef CONFIG_DM_GPIO
 #include <asm-generic/gpio.h>
-- 
2.17.1



More information about the U-Boot mailing list