Przeglądaj źródła

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 lat temu
rodzic
commit
f46f3f356f
2 zmienionych plików z 2 dodań i 2 usunięć
  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 ----------------------------*/