summary refs log tree commit diff stats
path: root/hw/sd/sdhci-pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/sd/sdhci-pci.c')
-rw-r--r--hw/sd/sdhci-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sd/sdhci-pci.c b/hw/sd/sdhci-pci.c
index 2a56fbf2cd..c18b91fe63 100644
--- a/hw/sd/sdhci-pci.c
+++ b/hw/sd/sdhci-pci.c
@@ -75,7 +75,7 @@ static const TypeInfo sdhci_pci_types[] = {
         .parent         = TYPE_PCI_DEVICE,
         .instance_size  = sizeof(SDHCIState),
         .class_init     = sdhci_pci_class_init,
-        .interfaces     = (InterfaceInfo[]) {
+        .interfaces     = (const InterfaceInfo[]) {
             { INTERFACE_CONVENTIONAL_PCI_DEVICE },
             { },
         },