summary refs log tree commit diff stats
path: root/hw/timer/stm32f2xx_timer.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/stm32f2xx_timer.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/stm32f2xx_timer.c')
-rw-r--r--hw/timer/stm32f2xx_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/stm32f2xx_timer.c b/hw/timer/stm32f2xx_timer.c
index 16b47887a5..d9d745cd76 100644
--- a/hw/timer/stm32f2xx_timer.c
+++ b/hw/timer/stm32f2xx_timer.c
@@ -298,7 +298,7 @@ static const VMStateDescription vmstate_stm32f2xx_timer = {
     }
 };
 
-static Property stm32f2xx_timer_properties[] = {
+static const Property stm32f2xx_timer_properties[] = {
     DEFINE_PROP_UINT64("clock-frequency", struct STM32F2XXTimerState,
                        freq_hz, 1000000000),
     DEFINE_PROP_END_OF_LIST(),