diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-13 15:03:52 +0000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-15 12:54:27 -0600 |
| commit | e15bd5dd059a8833dd30da2b78ab4f43e917f216 (patch) | |
| tree | f2786f89708f59501d03f76be12addd1286752a9 /hw/arm/nrf51_soc.c | |
| parent | b5e4f90e64f0c2c4c3a6c65b0de11b752640e31b (diff) | |
| download | focaccia-qemu-e15bd5dd059a8833dd30da2b78ab4f43e917f216.tar.gz focaccia-qemu-e15bd5dd059a8833dd30da2b78ab4f43e917f216.zip | |
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>
Diffstat (limited to 'hw/arm/nrf51_soc.c')
| -rw-r--r-- | hw/arm/nrf51_soc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/nrf51_soc.c b/hw/arm/nrf51_soc.c index ac53441630..43fac8a8db 100644 --- a/hw/arm/nrf51_soc.c +++ b/hw/arm/nrf51_soc.c @@ -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), |