aboutsummaryrefslogtreecommitdiff
path: root/hw/timer/allwinner-a10-pit.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/allwinner-a10-pit.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/allwinner-a10-pit.c')
-rw-r--r--hw/timer/allwinner-a10-pit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/allwinner-a10-pit.c b/hw/timer/allwinner-a10-pit.c
index d488e97..2904ccf 100644
--- a/hw/timer/allwinner-a10-pit.c
+++ b/hw/timer/allwinner-a10-pit.c
@@ -188,7 +188,7 @@ static const MemoryRegionOps a10_pit_ops = {
.endianness = DEVICE_NATIVE_ENDIAN,
};
-static Property a10_pit_properties[] = {
+static const Property a10_pit_properties[] = {
DEFINE_PROP_UINT32("clk0-freq", AwA10PITState, clk_freq[0], 0),
DEFINE_PROP_UINT32("clk1-freq", AwA10PITState, clk_freq[1], 0),
DEFINE_PROP_UINT32("clk2-freq", AwA10PITState, clk_freq[2], 0),