mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
hw/ssi: Constify all Property
Reviewed-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
4aa3a8a89a
commit
dc418eb220
9 changed files with 11 additions and 11 deletions
|
@ -1287,7 +1287,7 @@ static const VMStateDescription vmstate_aspeed_smc = {
|
|||
}
|
||||
};
|
||||
|
||||
static Property aspeed_smc_properties[] = {
|
||||
static const Property aspeed_smc_properties[] = {
|
||||
DEFINE_PROP_BOOL("inject-failure", AspeedSMCState, inject_failure, false),
|
||||
DEFINE_PROP_UINT64("dram-base", AspeedSMCState, dram_base, 0),
|
||||
DEFINE_PROP_LINK("dram", AspeedSMCState, dram_mr,
|
||||
|
@ -1336,7 +1336,7 @@ static void aspeed_smc_flash_realize(DeviceState *dev, Error **errp)
|
|||
sysbus_init_mmio(SYS_BUS_DEVICE(dev), &s->mmio);
|
||||
}
|
||||
|
||||
static Property aspeed_smc_flash_properties[] = {
|
||||
static const Property aspeed_smc_flash_properties[] = {
|
||||
DEFINE_PROP_UINT8("cs", AspeedSMCFlash, cs, 0),
|
||||
DEFINE_PROP_LINK("controller", AspeedSMCFlash, controller, TYPE_ASPEED_SMC,
|
||||
AspeedSMCState *),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue