summary refs log tree commit diff stats
path: root/hw/acpi/erst.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 14:58:37 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:54:23 -0600
commitc76bc08df2c05bdfa561f3486d38800718212d10 (patch)
tree11189d9d2e25615dbce4f2e248ac02772bf864f9 /hw/acpi/erst.c
parent46408f1811447923921cd7d618e2c1e747592558 (diff)
downloadfocaccia-qemu-c76bc08df2c05bdfa561f3486d38800718212d10.tar.gz
focaccia-qemu-c76bc08df2c05bdfa561f3486d38800718212d10.zip
hw/acpi: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/acpi/erst.c')
-rw-r--r--hw/acpi/erst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/acpi/erst.c b/hw/acpi/erst.c
index a108cfe49b..5ef5ddccb6 100644
--- a/hw/acpi/erst.c
+++ b/hw/acpi/erst.c
@@ -1011,7 +1011,7 @@ static void erst_reset(DeviceState *dev)
     trace_acpi_erst_reset_out(le32_to_cpu(s->header->record_count));
 }
 
-static Property erst_properties[] = {
+static const Property erst_properties[] = {
     DEFINE_PROP_LINK(ACPI_ERST_MEMDEV_PROP, ERSTDeviceState, hostmem,
                      TYPE_MEMORY_BACKEND, HostMemoryBackend *),
     DEFINE_PROP_UINT32(ACPI_ERST_RECORD_SIZE_PROP, ERSTDeviceState,