diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-13 15:48:50 +0000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-15 12:55:11 -0600 |
| commit | 783e3b21e542d7720ccd5f9f0ac5fad0b8ef8b7a (patch) | |
| tree | 44b93caabf5cbdfd076027913aa1ef9883cf0585 /hw/intc/riscv_aplic.c | |
| parent | 9eb5c799072c521839650fc375e9d5b546296370 (diff) | |
| download | focaccia-qemu-783e3b21e542d7720ccd5f9f0ac5fad0b8ef8b7a.tar.gz focaccia-qemu-783e3b21e542d7720ccd5f9f0ac5fad0b8ef8b7a.zip | |
hw/intc: Constify all Property
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/intc/riscv_aplic.c')
| -rw-r--r-- | hw/intc/riscv_aplic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/riscv_aplic.c b/hw/intc/riscv_aplic.c index 4a262c82f0..353eec8136 100644 --- a/hw/intc/riscv_aplic.c +++ b/hw/intc/riscv_aplic.c @@ -904,7 +904,7 @@ static void riscv_aplic_realize(DeviceState *dev, Error **errp) msi_nonbroken = true; } -static Property riscv_aplic_properties[] = { +static const Property riscv_aplic_properties[] = { DEFINE_PROP_UINT32("aperture-size", RISCVAPLICState, aperture_size, 0), DEFINE_PROP_UINT32("hartid-base", RISCVAPLICState, hartid_base, 0), DEFINE_PROP_UINT32("num-harts", RISCVAPLICState, num_harts, 0), |