summary refs log tree commit diff stats
path: root/hw/net/can/ctucan_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/net/can/ctucan_pci.c')
-rw-r--r--hw/net/can/ctucan_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/can/ctucan_pci.c b/hw/net/can/ctucan_pci.c
index 0dee9b59d1..bed6785433 100644
--- a/hw/net/can/ctucan_pci.c
+++ b/hw/net/can/ctucan_pci.c
@@ -262,7 +262,7 @@ static const TypeInfo ctucan_pci_info = {
     .instance_size = sizeof(CtuCanPCIState),
     .class_init    = ctucan_pci_class_init,
     .instance_init = ctucan_pci_instance_init,
-    .interfaces = (InterfaceInfo[]) {
+    .interfaces = (const InterfaceInfo[]) {
         { INTERFACE_CONVENTIONAL_PCI_DEVICE },
         { },
     },