summary refs log tree commit diff stats
path: root/hw/rtc/goldfish_rtc.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 16:44:13 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:56:06 -0600
commit93c9015bc5cc14e3d944ac5c7f8aba9e2960bf06 (patch)
tree282587b108b1d2b312856f20116e927473345db3 /hw/rtc/goldfish_rtc.c
parent766bade2da0f9b1338cbe72aea114cd0922acfc5 (diff)
downloadfocaccia-qemu-93c9015bc5cc14e3d944ac5c7f8aba9e2960bf06.tar.gz
focaccia-qemu-93c9015bc5cc14e3d944ac5c7f8aba9e2960bf06.zip
hw/rtc: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/rtc/goldfish_rtc.c')
-rw-r--r--hw/rtc/goldfish_rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/rtc/goldfish_rtc.c b/hw/rtc/goldfish_rtc.c
index a6dfbf89f3..389f192efa 100644
--- a/hw/rtc/goldfish_rtc.c
+++ b/hw/rtc/goldfish_rtc.c
@@ -286,7 +286,7 @@ static void goldfish_rtc_realize(DeviceState *d, Error **errp)
     s->timer = timer_new_ns(rtc_clock, goldfish_rtc_interrupt, s);
 }
 
-static Property goldfish_rtc_properties[] = {
+static const Property goldfish_rtc_properties[] = {
     DEFINE_PROP_BOOL("big-endian", GoldfishRTCState, big_endian,
                       false),
     DEFINE_PROP_END_OF_LIST(),