mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06: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:
parent
7f68219cc7
commit
55f579773e
4 changed files with 4 additions and 4 deletions
|
@ -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(),
|
||||
|
|
|
@ -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(),
|
||||
|
|
|
@ -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(),
|
||||
};
|
||||
|
|
|
@ -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(),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue