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/xics.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/xics.c')
| -rw-r--r-- | hw/intc/xics.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/intc/xics.c b/hw/intc/xics.c index e893363dc9..81bbfdd84b 100644 --- a/hw/intc/xics.c +++ b/hw/intc/xics.c @@ -344,7 +344,7 @@ static void icp_unrealize(DeviceState *dev) vmstate_unregister(NULL, &vmstate_icp_server, icp); } -static Property icp_properties[] = { +static const Property icp_properties[] = { DEFINE_PROP_LINK(ICP_PROP_XICS, ICPState, xics, TYPE_XICS_FABRIC, XICSFabric *), DEFINE_PROP_LINK(ICP_PROP_CPU, ICPState, cs, TYPE_CPU, CPUState *), @@ -676,7 +676,7 @@ static const VMStateDescription vmstate_ics = { }, }; -static Property ics_properties[] = { +static const Property ics_properties[] = { DEFINE_PROP_UINT32("nr-irqs", ICSState, nr_irqs, 0), DEFINE_PROP_LINK(ICS_PROP_XICS, ICSState, xics, TYPE_XICS_FABRIC, XICSFabric *), |