summary refs log tree commit diff stats
path: root/hw/timer/avr_timer16.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 16:51:42 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:56:26 -0600
commit74734e2b1b77b7753bd5f5578acfbb2a81fe3ec2 (patch)
tree8fcfe133abe38c1a8b90e7b35a03558d9b5b1d70 /hw/timer/avr_timer16.c
parentdc418eb22028d1f6181e2436c27fcdc3ad0b56a1 (diff)
downloadfocaccia-qemu-74734e2b1b77b7753bd5f5578acfbb2a81fe3ec2.tar.gz
focaccia-qemu-74734e2b1b77b7753bd5f5578acfbb2a81fe3ec2.zip
hw/timer: Constify all Property
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/timer/avr_timer16.c')
-rw-r--r--hw/timer/avr_timer16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/avr_timer16.c b/hw/timer/avr_timer16.c
index 421920054f..2e3ce83c43 100644
--- a/hw/timer/avr_timer16.c
+++ b/hw/timer/avr_timer16.c
@@ -542,7 +542,7 @@ static const MemoryRegionOps avr_timer16_ifr_ops = {
     .impl = {.max_access_size = 1}
 };
 
-static Property avr_timer16_properties[] = {
+static const Property avr_timer16_properties[] = {
     DEFINE_PROP_UINT8("id", struct AVRTimer16State, id, 0),
     DEFINE_PROP_UINT64("cpu-frequency-hz", struct AVRTimer16State,
                        cpu_freq_hz, 0),