From: Linus Walleij Date: Mon, 1 Apr 2013 22:14:14 +0000 (+0000) Subject: biosemu: include header X-Git-Tag: v2013.04-rc2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b2da80384ed197ea17c1d910813e3c105a9c656c;p=platform%2Fkernel%2Fu-boot.git biosemu: include header This makes sure we have inline functions such as inb/outb that are used in these two files by including the arch-specific 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: Linus Walleij --- diff --git a/drivers/bios_emulator/besys.c b/drivers/bios_emulator/besys.c index 84724b7..ad88a53 100644 --- a/drivers/bios_emulator/besys.c +++ b/drivers/bios_emulator/besys.c @@ -47,6 +47,8 @@ * ****************************************************************************/ +#define __io +#include #include #include "biosemui.h" diff --git a/drivers/bios_emulator/bios.c b/drivers/bios_emulator/bios.c index 7cf4879..bcc192f 100644 --- a/drivers/bios_emulator/bios.c +++ b/drivers/bios_emulator/bios.c @@ -41,6 +41,8 @@ * ****************************************************************************/ +#define __io +#include #include #include "biosemui.h"