summary refs log tree commit diff stats
path: root/hw/pci-host/ppce500.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-04-23 18:46:19 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-04-25 17:00:41 +0200
commit2cd09e47aa522dfc7bb206f13d6dccb68dd09887 (patch)
tree03b43e11d227815b350b287923b0d7d94a42bb6e /hw/pci-host/ppce500.c
parent231bf6dda1ef7b4894ba374efb248c65b1841e34 (diff)
downloadfocaccia-qemu-2cd09e47aa522dfc7bb206f13d6dccb68dd09887.tar.gz
focaccia-qemu-2cd09e47aa522dfc7bb206f13d6dccb68dd09887.zip
qom: Make InterfaceInfo[] uses const
Mechanical change using:

  $ sed -i -E 's/\(InterfaceInfo.?\[/\(const InterfaceInfo\[/g' \
              $(git grep -lE '\(InterfaceInfo.?\[\]\)')

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20250424194905.82506-7-philmd@linaro.org>
Diffstat (limited to 'hw/pci-host/ppce500.c')
-rw-r--r--hw/pci-host/ppce500.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci-host/ppce500.c b/hw/pci-host/ppce500.c
index 2f6354c931..e97a515d5f 100644
--- a/hw/pci-host/ppce500.c
+++ b/hw/pci-host/ppce500.c
@@ -528,7 +528,7 @@ static const TypeInfo e500_pci_types[] = {
         .parent        = TYPE_PCI_DEVICE,
         .instance_size = sizeof(PPCE500PCIBridgeState),
         .class_init    = e500_host_bridge_class_init,
-        .interfaces    = (InterfaceInfo[]) {
+        .interfaces    = (const InterfaceInfo[]) {
             { INTERFACE_CONVENTIONAL_PCI_DEVICE },
             { },
         },