aboutsummaryrefslogtreecommitdiff
path: root/hw/isa
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 15:51:35 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:55:19 -0600
commit7f68219cc7b15df35f0543a3d9824584480077eb (patch)
tree0d48668a1200bfc8c7f5584fd7f88d9de8175e88 /hw/isa
parent2acf140305ed957f945e09ca7667ad872a091958 (diff)
downloadqemu-7f68219cc7b15df35f0543a3d9824584480077eb.zip
qemu-7f68219cc7b15df35f0543a3d9824584480077eb.tar.gz
qemu-7f68219cc7b15df35f0543a3d9824584480077eb.tar.bz2
hw/isa: 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/isa')
-rw-r--r--hw/isa/lpc_ich9.c2
-rw-r--r--hw/isa/pc87312.c2
-rw-r--r--hw/isa/piix.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/hw/isa/lpc_ich9.c b/hw/isa/lpc_ich9.c
index dabd121..378244a 100644
--- a/hw/isa/lpc_ich9.c
+++ b/hw/isa/lpc_ich9.c
@@ -826,7 +826,7 @@ static const VMStateDescription vmstate_ich9_lpc = {
}
};
-static Property ich9_lpc_properties[] = {
+static const Property ich9_lpc_properties[] = {
DEFINE_PROP_BOOL("noreboot", ICH9LPCState, pin_strap.spkr_hi, false),
DEFINE_PROP_BOOL("smm-compat", ICH9LPCState, pm.smm_compat, false),
DEFINE_PROP_BOOL("smm-enabled", ICH9LPCState, pm.smm_enabled, false),
diff --git a/hw/isa/pc87312.c b/hw/isa/pc87312.c
index f671554..7bb2af8 100644
--- a/hw/isa/pc87312.c
+++ b/hw/isa/pc87312.c
@@ -327,7 +327,7 @@ static const VMStateDescription vmstate_pc87312 = {
}
};
-static Property pc87312_properties[] = {
+static const Property pc87312_properties[] = {
DEFINE_PROP_UINT16("iobase", PC87312State, iobase, 0x398),
DEFINE_PROP_UINT8("config", PC87312State, config, 1),
DEFINE_PROP_END_OF_LIST()
diff --git a/hw/isa/piix.c b/hw/isa/piix.c
index b4a402f..8ec9c63 100644
--- a/hw/isa/piix.c
+++ b/hw/isa/piix.c
@@ -408,7 +408,7 @@ static void pci_piix_init(Object *obj)
object_initialize_child(obj, "rtc", &d->rtc, TYPE_MC146818_RTC);
}
-static Property pci_piix_props[] = {
+static const Property pci_piix_props[] = {
DEFINE_PROP_UINT32("smb_io_base", PIIXState, smb_io_base, 0),
DEFINE_PROP_BOOL("has-acpi", PIIXState, has_acpi, true),
DEFINE_PROP_BOOL("has-pic", PIIXState, has_pic, true),