]> Git Repo - qemu.git/blobdiff - hw/pci-bridge/xio3130_upstream.c
Include qapi/error.h exactly where needed
[qemu.git] / hw / pci-bridge / xio3130_upstream.c
index a052224bbf8cb6cc94496661711f3fcb80e01cf9..df5692501b658291c8b03ae1319626825e29db70 100644 (file)
@@ -24,7 +24,6 @@
 #include "hw/pci/msi.h"
 #include "hw/pci/pcie.h"
 #include "xio3130_upstream.h"
-#include "qapi/error.h"
 
 #define PCI_DEVICE_ID_TI_XIO3130U       0x8232  /* upstream port */
 #define XIO3130_REVISION                0x2
@@ -166,6 +165,10 @@ static const TypeInfo xio3130_upstream_info = {
     .name          = "x3130-upstream",
     .parent        = TYPE_PCIE_PORT,
     .class_init    = xio3130_upstream_class_init,
+    .interfaces = (InterfaceInfo[]) {
+        { INTERFACE_PCIE_DEVICE },
+        { }
+    },
 };
 
 static void xio3130_upstream_register_types(void)
This page took 0.024693 seconds and 4 git commands to generate.