diff options
Diffstat (limited to 'hw/vfio')
| -rw-r--r-- | hw/vfio/igd.c | 2 | ||||
| -rw-r--r-- | hw/vfio/pci.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/vfio/igd.c b/hw/vfio/igd.c index fd55b8d884..0a13b185fe 100644 --- a/hw/vfio/igd.c +++ b/hw/vfio/igd.c @@ -318,7 +318,7 @@ static const TypeInfo vfio_pci_igd_lpc_bridge_info = { .name = "vfio-pci-igd-lpc-bridge", .parent = TYPE_PCI_DEVICE, .class_init = vfio_pci_igd_lpc_bridge_class_init, - .interfaces = (InterfaceInfo[]) { + .interfaces = (const InterfaceInfo[]) { { INTERFACE_CONVENTIONAL_PCI_DEVICE }, { }, }, diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c index 0db9f03846..c3d9360710 100644 --- a/hw/vfio/pci.c +++ b/hw/vfio/pci.c @@ -3554,7 +3554,7 @@ static const TypeInfo vfio_pci_dev_info = { .class_init = vfio_pci_dev_class_init, .instance_init = vfio_instance_init, .instance_finalize = vfio_instance_finalize, - .interfaces = (InterfaceInfo[]) { + .interfaces = (const InterfaceInfo[]) { { INTERFACE_PCIE_DEVICE }, { INTERFACE_CONVENTIONAL_PCI_DEVICE }, { } |