mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
hw/m68k: Constify all Property
Reviewed-by: Thomas Huth <huth@tuxfamily.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
+1
-1
@@ -600,7 +600,7 @@ static void mcf5206_mbar_realize(DeviceState *dev, Error **errp)
|
||||
s->uart[1] = mcf_uart_create(s->pic[13], serial_hd(1));
|
||||
}
|
||||
|
||||
static Property mcf5206_mbar_properties[] = {
|
||||
static const Property mcf5206_mbar_properties[] = {
|
||||
DEFINE_PROP_LINK("m68k-cpu", m5206_mbar_state, cpu,
|
||||
TYPE_M68K_CPU, M68kCPU *),
|
||||
DEFINE_PROP_END_OF_LIST(),
|
||||
|
||||
+1
-1
@@ -177,7 +177,7 @@ static void mcf_intc_instance_init(Object *obj)
|
||||
sysbus_init_mmio(SYS_BUS_DEVICE(obj), &s->iomem);
|
||||
}
|
||||
|
||||
static Property mcf_intc_properties[] = {
|
||||
static const Property mcf_intc_properties[] = {
|
||||
DEFINE_PROP_LINK("m68k-cpu", mcf_intc_state, cpu,
|
||||
TYPE_M68K_CPU, M68kCPU *),
|
||||
DEFINE_PROP_END_OF_LIST(),
|
||||
|
||||
+1
-1
@@ -914,7 +914,7 @@ static void next_pc_realize(DeviceState *dev, Error **errp)
|
||||
* this cpu link property and could instead provide outbound IRQ lines
|
||||
* that the board could wire up to the CPU.
|
||||
*/
|
||||
static Property next_pc_properties[] = {
|
||||
static const Property next_pc_properties[] = {
|
||||
DEFINE_PROP_LINK("cpu", NeXTPC, cpu, TYPE_M68K_CPU, M68kCPU *),
|
||||
DEFINE_PROP_END_OF_LIST(),
|
||||
};
|
||||
|
||||
+1
-1
@@ -203,7 +203,7 @@ static const VMStateDescription vmstate_glue = {
|
||||
* this cpu link property and could instead provide outbound IRQ lines
|
||||
* that the board could wire up to the CPU.
|
||||
*/
|
||||
static Property glue_properties[] = {
|
||||
static const Property glue_properties[] = {
|
||||
DEFINE_PROP_LINK("cpu", GLUEState, cpu, TYPE_M68K_CPU, M68kCPU *),
|
||||
DEFINE_PROP_END_OF_LIST(),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user