summary refs log tree commit diff stats
path: root/hw/pci-host/sh_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pci-host/sh_pci.c')
-rw-r--r--hw/pci-host/sh_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci-host/sh_pci.c b/hw/pci-host/sh_pci.c
index 52bff66d6a..de8f6a84aa 100644
--- a/hw/pci-host/sh_pci.c
+++ b/hw/pci-host/sh_pci.c
@@ -186,7 +186,7 @@ static const TypeInfo sh_pcic_types[] = {
         .parent         = TYPE_PCI_DEVICE,
         .instance_size  = sizeof(PCIDevice),
         .class_init     = sh_pcic_pci_class_init,
-        .interfaces = (InterfaceInfo[]) {
+        .interfaces = (const InterfaceInfo[]) {
             { INTERFACE_CONVENTIONAL_PCI_DEVICE },
             { },
         },