summary refs log tree commit diff stats
path: root/hw/pci-bridge/cxl_downstream.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pci-bridge/cxl_downstream.c')
-rw-r--r--hw/pci-bridge/cxl_downstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci-bridge/cxl_downstream.c b/hw/pci-bridge/cxl_downstream.c
index e337f1ac50..ab3b550a88 100644
--- a/hw/pci-bridge/cxl_downstream.c
+++ b/hw/pci-bridge/cxl_downstream.c
@@ -219,7 +219,7 @@ static const Property cxl_dsp_props[] = {
                                 width, PCIE_LINK_WIDTH_16),
 };
 
-static void cxl_dsp_class_init(ObjectClass *oc, void *data)
+static void cxl_dsp_class_init(ObjectClass *oc, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(oc);
     PCIDeviceClass *k = PCI_DEVICE_CLASS(oc);