diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-13 16:15:59 +0000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-15 12:55:39 -0600 |
| commit | 30029973103ac7f7ffb7bce0f088b773ad9f5dae (patch) | |
| tree | 924ee7b9dec346b9a2e51482ceac64f61f378b13 /hw/misc/macio/macio.c | |
| parent | 56d8d2b34288c3ea6b62d9e0069cc927d542ea93 (diff) | |
| download | focaccia-qemu-30029973103ac7f7ffb7bce0f088b773ad9f5dae.tar.gz focaccia-qemu-30029973103ac7f7ffb7bce0f088b773ad9f5dae.zip | |
hw/misc: Constify all Property
Reviewed-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/misc/macio/macio.c')
| -rw-r--r-- | hw/misc/macio/macio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/misc/macio/macio.c b/hw/misc/macio/macio.c index 3f449f91c0..7e3d5aa977 100644 --- a/hw/misc/macio/macio.c +++ b/hw/misc/macio/macio.c @@ -405,7 +405,7 @@ static const VMStateDescription vmstate_macio_newworld = { } }; -static Property macio_newworld_properties[] = { +static const Property macio_newworld_properties[] = { DEFINE_PROP_BOOL("has-pmu", NewWorldMacIOState, has_pmu, false), DEFINE_PROP_BOOL("has-adb", NewWorldMacIOState, has_adb, false), DEFINE_PROP_END_OF_LIST() @@ -422,7 +422,7 @@ static void macio_newworld_class_init(ObjectClass *oc, void *data) device_class_set_props(dc, macio_newworld_properties); } -static Property macio_properties[] = { +static const Property macio_properties[] = { DEFINE_PROP_UINT64("frequency", MacIOState, frequency, 0), DEFINE_PROP_END_OF_LIST() }; |