pci: Move inline PCI functions to pci_ops.h
Move inline function where they belong to. Fixes compilation
on non x86 platforms.
Change-Id: Ia05391c43b8d501bd68df5654bcfb587f8786f71
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/25720
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/include/device/device.h b/src/include/device/device.h
index 15e477a..02a933e 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -19,6 +19,7 @@
#ifndef __SIMPLE_DEVICE__
typedef struct device *device_t;
#endif
+#include <arch/io.h>
struct pci_operations;
struct pci_bus_operations;