summary refs log tree commit diff stats
path: root/hw/ide/cf.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/cf.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/cf.c')
-rw-r--r--hw/ide/cf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/cf.c b/hw/ide/cf.c
index 2a425cb0f2..190914f513 100644
--- a/hw/ide/cf.c
+++ b/hw/ide/cf.c
@@ -24,7 +24,7 @@ static void ide_cf_realize(IDEDevice *dev, Error **errp)
     ide_dev_initfn(dev, IDE_CFATA, errp);
 }
 
-static Property ide_cf_properties[] = {
+static const Property ide_cf_properties[] = {
     DEFINE_IDE_DEV_PROPERTIES(),
     DEFINE_BLOCK_CHS_PROPERTIES(IDEDrive, dev.conf),
     DEFINE_PROP_BIOS_CHS_TRANS("bios-chs-trans",