bios_emulator: Correct ordering of includes
authorSimon Glass <sjg@chromium.org>
Thu, 11 Dec 2014 03:12:01 +0000 (20:12 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 13 Dec 2014 22:08:04 +0000 (15:08 -0700)
We should include common.h before other includes. This actually causes
a build error on chromebook_link.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/bios_emulator/besys.c
drivers/bios_emulator/bios.c

index 752a928f6602fb43ec07b93536a9620ef386ac68..02c4286a854c11adf16040c7c90e06dda0efe857 100644 (file)
@@ -48,8 +48,8 @@
 ****************************************************************************/
 
 #define __io
-#include <asm/io.h>
 #include <common.h>
+#include <asm/io.h>
 #include "biosemui.h"
 
 /*------------------------- Global Variables ------------------------------*/
index 152d70a778c452a697a6ebb83ff9c8d35b746a7e..dd4c0a4f322fbdf4d7d81df090084143e9bfb956 100644 (file)
@@ -42,8 +42,8 @@
 ****************************************************************************/
 
 #define __io
-#include <asm/io.h>
 #include <common.h>
+#include <asm/io.h>
 #include "biosemui.h"
 
 /*----------------------------- Implementation ----------------------------*/