|
@@ -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 *),
|