summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/device/oprom/include/io.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/device/oprom/include/io.h b/src/device/oprom/include/io.h
index d9b2139b7e..96dd5721f8 100644
--- a/src/device/oprom/include/io.h
+++ b/src/device/oprom/include/io.h
@@ -1,3 +1,6 @@
+#if CONFIG_ARCH_X86
+#include <arch/io.h>
+#else
void outb(u8 val, u16 port);
void outw(u16 val, u16 port);
void outl(u32 val, u16 port);
@@ -5,5 +8,4 @@ void outl(u32 val, u16 port);
u8 inb(u16 port);
u16 inw(u16 port);
u32 inl(u16 port);
-
-
+#endif