summary refs log tree commit diff stats
path: root/hw/rtc/mc146818rtc.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/mc146818rtc.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/mc146818rtc.c')
-rw-r--r--hw/rtc/mc146818rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/rtc/mc146818rtc.c b/hw/rtc/mc146818rtc.c
index 8ccee9a385..973ed9914d 100644
--- a/hw/rtc/mc146818rtc.c
+++ b/hw/rtc/mc146818rtc.c
@@ -960,7 +960,7 @@ MC146818RtcState *mc146818_rtc_init(ISABus *bus, int base_year,
     return s;
 }
 
-static Property mc146818rtc_properties[] = {
+static const Property mc146818rtc_properties[] = {
     DEFINE_PROP_INT32("base_year", MC146818RtcState, base_year, 1980),
     DEFINE_PROP_UINT16("iobase", MC146818RtcState, io_base, RTC_ISA_BASE),
     DEFINE_PROP_UINT8("irq", MC146818RtcState, isairq, RTC_ISA_IRQ),