mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
hw/arm: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Cédric Le Goater <clg@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
b5e4f90e64
commit
e15bd5dd05
18 changed files with 22 additions and 22 deletions
|
@ -208,7 +208,7 @@ static void nrf51_soc_init(Object *obj)
|
|||
s->sysclk = qdev_init_clock_in(DEVICE(s), "sysclk", NULL, NULL, 0);
|
||||
}
|
||||
|
||||
static Property nrf51_soc_properties[] = {
|
||||
static const Property nrf51_soc_properties[] = {
|
||||
DEFINE_PROP_LINK("memory", NRF51State, board_memory, TYPE_MEMORY_REGION,
|
||||
MemoryRegion *),
|
||||
DEFINE_PROP_UINT32("sram-size", NRF51State, sram_size, NRF51822_SRAM_SIZE),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue