Kaynağa Gözat

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 yıl önce
ebeveyn
işleme
f46f3f356f
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  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 ----------------------------*/