aboutsummaryrefslogtreecommitdiff
path: root/hw/pci-host/xilinx-pcie.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pci-host/xilinx-pcie.c')
-rw-r--r--hw/pci-host/xilinx-pcie.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/pci-host/xilinx-pcie.c b/hw/pci-host/xilinx-pcie.c
index 4613dda1d2..7659253090 100644
--- a/hw/pci-host/xilinx-pcie.c
+++ b/hw/pci-host/xilinx-pcie.c
@@ -317,6 +317,10 @@ static const TypeInfo xilinx_pcie_root_info = {
.parent = TYPE_PCI_BRIDGE,
.instance_size = sizeof(XilinxPCIERoot),
.class_init = xilinx_pcie_root_class_init,
+ .interfaces = (InterfaceInfo[]) {
+ { INTERFACE_PCIE_DEVICE },
+ { }
+ },
};
static void xilinx_pcie_register(void)