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/armv7m.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/armv7m.c')
| -rw-r--r-- | hw/arm/armv7m.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/arm/armv7m.c b/hw/arm/armv7m.c index 7c68525a9e..e20f719c9b 100644 --- a/hw/arm/armv7m.c +++ b/hw/arm/armv7m.c @@ -538,7 +538,7 @@ static void armv7m_realize(DeviceState *dev, Error **errp) } } -static Property armv7m_properties[] = { +static const Property armv7m_properties[] = { DEFINE_PROP_STRING("cpu-type", ARMv7MState, cpu_type), DEFINE_PROP_LINK("memory", ARMv7MState, board_memory, TYPE_MEMORY_REGION, MemoryRegion *), @@ -631,7 +631,7 @@ void armv7m_load_kernel(ARMCPU *cpu, const char *kernel_filename, qemu_register_reset(armv7m_reset, cpu); } -static Property bitband_properties[] = { +static const Property bitband_properties[] = { DEFINE_PROP_UINT32("base", BitBandState, base, 0), DEFINE_PROP_LINK("source-memory", BitBandState, source_memory, TYPE_MEMORY_REGION, MemoryRegion *), |