summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-12-10 20:12:01 -0700
committerSimon Glass <sjg@chromium.org>2014-12-13 15:08:04 -0700
commitf46f3f356f684a20d1ccb50c943536591a7697f3 (patch)
tree0f231c0f60b91a5bebdab1a545797487aae249a6 /drivers
parent0a54745fc2537cbbd9d9e405086cfff39d37c55e (diff)
downloadu-boot-imx-f46f3f356f684a20d1ccb50c943536591a7697f3.zip
u-boot-imx-f46f3f356f684a20d1ccb50c943536591a7697f3.tar.gz
u-boot-imx-f46f3f356f684a20d1ccb50c943536591a7697f3.tar.bz2
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/bios_emulator/besys.c2
-rw-r--r--drivers/bios_emulator/bios.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bios_emulator/besys.c b/drivers/bios_emulator/besys.c
index 752a928..02c4286 100644
--- a/drivers/bios_emulator/besys.c
+++ b/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 ------------------------------*/
diff --git a/drivers/bios_emulator/bios.c b/drivers/bios_emulator/bios.c
index 152d70a..dd4c0a4 100644
--- a/drivers/bios_emulator/bios.c
+++ b/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 ----------------------------*/