瀏覽代碼

bios_emulator: Correct ordering of includes

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>
Simon Glass 9 年之前
父節點
當前提交
f46f3f356f
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      drivers/bios_emulator/besys.c
  2. 1 1
      drivers/bios_emulator/bios.c

+ 1 - 1
drivers/bios_emulator/besys.c

@@ -48,8 +48,8 @@
 ****************************************************************************/
 
 #define __io
-#include <asm/io.h>
 #include <common.h>
+#include <asm/io.h>
 #include "biosemui.h"
 
 /*------------------------- Global Variables ------------------------------*/

+ 1 - 1
drivers/bios_emulator/bios.c

@@ -42,8 +42,8 @@
 ****************************************************************************/
 
 #define __io
-#include <asm/io.h>
 #include <common.h>
+#include <asm/io.h>
 #include "biosemui.h"
 
 /*----------------------------- Implementation ----------------------------*/