Commit b2da8038 authored by Linus Walleij's avatar Linus Walleij Committed by Tom Rini
Browse files

biosemu: include <asm/io.h> header



This makes sure we have inline functions such as inb/outb that
are used in these two files by including the arch-specific
<asm/io.h> header. However the ARM version does not provide the
accessors unless the config symbol __io is also defined so add
that in front of the include.

After this the bios emulator will compile on ARM systems.
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 9fd38372
......@@ -47,6 +47,8 @@
*
****************************************************************************/
#define __io
#include <asm/io.h>
#include <common.h>
#include "biosemui.h"
......
......@@ -41,6 +41,8 @@
*
****************************************************************************/
#define __io
#include <asm/io.h>
#include <common.h>
#include "biosemui.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment