aboutsummaryrefslogtreecommitdiff
path: root/hw/timer/grlib_gptimer.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/grlib_gptimer.c
parentdc418eb22028d1f6181e2436c27fcdc3ad0b56a1 (diff)
downloadqemu-74734e2b1b77b7753bd5f5578acfbb2a81fe3ec2.zip
qemu-74734e2b1b77b7753bd5f5578acfbb2a81fe3ec2.tar.gz
qemu-74734e2b1b77b7753bd5f5578acfbb2a81fe3ec2.tar.bz2
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/grlib_gptimer.c')
-rw-r--r--hw/timer/grlib_gptimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/grlib_gptimer.c b/hw/timer/grlib_gptimer.c
index 6ef08f2..a7428ed 100644
--- a/hw/timer/grlib_gptimer.c
+++ b/hw/timer/grlib_gptimer.c
@@ -403,7 +403,7 @@ static void grlib_gptimer_realize(DeviceState *dev, Error **errp)
sysbus_init_mmio(sbd, &unit->iomem);
}
-static Property grlib_gptimer_properties[] = {
+static const Property grlib_gptimer_properties[] = {
DEFINE_PROP_UINT32("frequency", GPTimerUnit, freq_hz, 40000000),
DEFINE_PROP_UINT32("irq-line", GPTimerUnit, irq_line, 8),
DEFINE_PROP_UINT32("nr-timers", GPTimerUnit, nr_timers, 2),