summary refs log tree commit diff stats
path: root/hw/cxl/switch-mailbox-cci.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/cxl/switch-mailbox-cci.c')
-rw-r--r--hw/cxl/switch-mailbox-cci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/cxl/switch-mailbox-cci.c b/hw/cxl/switch-mailbox-cci.c
index 833b824619..b92bbeb16e 100644
--- a/hw/cxl/switch-mailbox-cci.c
+++ b/hw/cxl/switch-mailbox-cci.c
@@ -72,7 +72,7 @@ static const Property cxl_switch_cci_props[] = {
                      target, TYPE_CXL_USP, PCIDevice *),
 };
 
-static void cswmbcci_class_init(ObjectClass *oc, void *data)
+static void cswmbcci_class_init(ObjectClass *oc, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(oc);
     PCIDeviceClass *pc = PCI_DEVICE_CLASS(oc);