summary refs log tree commit diff stats
path: root/hw/pci-host/sabre.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 16:35:23 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:55:54 -0600
commit909a5c0afa1dd52e8145716fc36d12ba6b74721f (patch)
tree4248ee972087bc819f2706fdc0e483dc573aa53d /hw/pci-host/sabre.c
parent196fd15f31d986e5a9c5da84988fa4597f30623b (diff)
downloadfocaccia-qemu-909a5c0afa1dd52e8145716fc36d12ba6b74721f.tar.gz
focaccia-qemu-909a5c0afa1dd52e8145716fc36d12ba6b74721f.zip
hw/pci-host: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/pci-host/sabre.c')
-rw-r--r--hw/pci-host/sabre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci-host/sabre.c b/hw/pci-host/sabre.c
index 1707feb951..623afed644 100644
--- a/hw/pci-host/sabre.c
+++ b/hw/pci-host/sabre.c
@@ -492,7 +492,7 @@ static char *sabre_ofw_unit_address(const SysBusDevice *dev)
                (uint32_t)(s->special_base & 0xffffffff));
 }
 
-static Property sabre_properties[] = {
+static const Property sabre_properties[] = {
     DEFINE_PROP_UINT64("special-base", SabreState, special_base, 0),
     DEFINE_PROP_UINT64("mem-base", SabreState, mem_base, 0),
     DEFINE_PROP_END_OF_LIST(),