summary refs log tree commit diff stats
path: root/hw/rtc/m48t59-isa.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/m48t59-isa.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/m48t59-isa.c')
-rw-r--r--hw/rtc/m48t59-isa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/rtc/m48t59-isa.c b/hw/rtc/m48t59-isa.c
index b642b82680..51f80d27ef 100644
--- a/hw/rtc/m48t59-isa.c
+++ b/hw/rtc/m48t59-isa.c
@@ -77,7 +77,7 @@ static void m48txx_isa_toggle_lock(Nvram *obj, int lock)
     m48t59_toggle_lock(&d->state, lock);
 }
 
-static Property m48t59_isa_properties[] = {
+static const Property m48t59_isa_properties[] = {
     DEFINE_PROP_INT32("base-year", M48txxISAState, state.base_year, 0),
     DEFINE_PROP_UINT32("iobase", M48txxISAState, io_base, 0x74),
     DEFINE_PROP_UINT8("irq", M48txxISAState, isairq, 8),