mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
hw/mem: 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
55f579773e
commit
f4f2248bbc
4 changed files with 4 additions and 4 deletions
|
@ -150,7 +150,7 @@ out:
|
|||
return slot;
|
||||
}
|
||||
|
||||
static Property pc_dimm_properties[] = {
|
||||
static const Property pc_dimm_properties[] = {
|
||||
DEFINE_PROP_UINT64(PC_DIMM_ADDR_PROP, PCDIMMDevice, addr, 0),
|
||||
DEFINE_PROP_UINT32(PC_DIMM_NODE_PROP, PCDIMMDevice, node, 0),
|
||||
DEFINE_PROP_INT32(PC_DIMM_SLOT_PROP, PCDIMMDevice, slot,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue