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 b92bbeb16e..223f220433 100644
--- a/hw/cxl/switch-mailbox-cci.c
+++ b/hw/cxl/switch-mailbox-cci.c
@@ -99,7 +99,7 @@ static const TypeInfo cswmbcci_info = {
     .parent = TYPE_PCI_DEVICE,
     .class_init = cswmbcci_class_init,
     .instance_size = sizeof(CSWMBCCIDev),
-    .interfaces = (InterfaceInfo[]) {
+    .interfaces = (const InterfaceInfo[]) {
         { INTERFACE_PCIE_DEVICE },
         { }
     },