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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci-host/xilinx-pcie.c b/hw/pci-host/xilinx-pcie.c
index 17d5024349..e06f2b59cf 100644
--- a/hw/pci-host/xilinx-pcie.c
+++ b/hw/pci-host/xilinx-pcie.c
@@ -177,7 +177,7 @@ static void xilinx_pcie_host_class_init(ObjectClass *klass, void *data)
dc->realize = xilinx_pcie_host_realize;
set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
dc->fw_name = "pci";
- dc->props = xilinx_pcie_host_props;
+ device_class_set_props(dc, xilinx_pcie_host_props);
}
static const TypeInfo xilinx_pcie_host_info = {