mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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>
This commit is contained in:
parent
2acf140305
commit
7f68219cc7
3 changed files with 3 additions and 3 deletions
|
@ -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),
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue