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/unimp.c | |
parent | 56d8d2b34288c3ea6b62d9e0069cc927d542ea93 (diff) | |
download | qemu-30029973103ac7f7ffb7bce0f088b773ad9f5dae.zip qemu-30029973103ac7f7ffb7bce0f088b773ad9f5dae.tar.gz qemu-30029973103ac7f7ffb7bce0f088b773ad9f5dae.tar.bz2 |
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/unimp.c')
-rw-r--r-- | hw/misc/unimp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/unimp.c b/hw/misc/unimp.c index 6cfc572..62e1153 100644 --- a/hw/misc/unimp.c +++ b/hw/misc/unimp.c @@ -70,7 +70,7 @@ static void unimp_realize(DeviceState *dev, Error **errp) sysbus_init_mmio(SYS_BUS_DEVICE(s), &s->iomem); } -static Property unimp_properties[] = { +static const Property unimp_properties[] = { DEFINE_PROP_UINT64("size", UnimplementedDeviceState, size, 0), DEFINE_PROP_STRING("name", UnimplementedDeviceState, name), DEFINE_PROP_END_OF_LIST(), |