summary refs log tree commit diff stats
path: root/hw/timer/sifive_pwm.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/sifive_pwm.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/sifive_pwm.c')
-rw-r--r--hw/timer/sifive_pwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/sifive_pwm.c b/hw/timer/sifive_pwm.c
index 4602fc1a61..042c89c67a 100644
--- a/hw/timer/sifive_pwm.c
+++ b/hw/timer/sifive_pwm.c
@@ -404,7 +404,7 @@ static const VMStateDescription vmstate_sifive_pwm = {
     }
 };
 
-static Property sifive_pwm_properties[] = {
+static const Property sifive_pwm_properties[] = {
     /* 0.5Ghz per spec after FSBL */
     DEFINE_PROP_UINT64("clock-frequency", struct SiFivePwmState,
                        freq_hz, 500000000ULL),