summary refs log tree commit diff stats
path: root/hw/ide/macio.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 15:41:52 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:55:06 -0600
commitaaa1f1a5246c818a39d15c286bb8ace377501d00 (patch)
treeebb140dc693d6d229b56bbd1e821b1b40b4e0566 /hw/ide/macio.c
parent90d45638af23c3cdab9d357306026751f8431b83 (diff)
downloadfocaccia-qemu-aaa1f1a5246c818a39d15c286bb8ace377501d00.tar.gz
focaccia-qemu-aaa1f1a5246c818a39d15c286bb8ace377501d00.zip
hw/ide: Constify all Property
Reviewed-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/ide/macio.c')
-rw-r--r--hw/ide/macio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/macio.c b/hw/ide/macio.c
index 99477a3d13..25f8403e80 100644
--- a/hw/ide/macio.c
+++ b/hw/ide/macio.c
@@ -459,7 +459,7 @@ static void macio_ide_initfn(Object *obj)
                              qdev_prop_allow_set_link_before_realize, 0);
 }
 
-static Property macio_ide_properties[] = {
+static const Property macio_ide_properties[] = {
     DEFINE_PROP_UINT32("channel", MACIOIDEState, channel, 0),
     DEFINE_PROP_UINT32("addr", MACIOIDEState, addr, -1),
     DEFINE_PROP_END_OF_LIST(),