hw/rx: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
93c9015bc5
commit
521e2be94d
@ -257,7 +257,7 @@ static void rx62n_realize(DeviceState *dev, Error **errp)
|
|||||||
register_sci(s, 0);
|
register_sci(s, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static Property rx62n_properties[] = {
|
static const Property rx62n_properties[] = {
|
||||||
DEFINE_PROP_LINK("main-bus", RX62NState, sysmem, TYPE_MEMORY_REGION,
|
DEFINE_PROP_LINK("main-bus", RX62NState, sysmem, TYPE_MEMORY_REGION,
|
||||||
MemoryRegion *),
|
MemoryRegion *),
|
||||||
DEFINE_PROP_BOOL("load-kernel", RX62NState, kernel, false),
|
DEFINE_PROP_BOOL("load-kernel", RX62NState, kernel, false),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user