diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-13 16:51:42 +0000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-15 12:56:26 -0600 |
| commit | 74734e2b1b77b7753bd5f5578acfbb2a81fe3ec2 (patch) | |
| tree | 8fcfe133abe38c1a8b90e7b35a03558d9b5b1d70 /hw/timer/hpet.c | |
| parent | dc418eb22028d1f6181e2436c27fcdc3ad0b56a1 (diff) | |
| download | focaccia-qemu-74734e2b1b77b7753bd5f5578acfbb2a81fe3ec2.tar.gz focaccia-qemu-74734e2b1b77b7753bd5f5578acfbb2a81fe3ec2.zip | |
hw/timer: 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/timer/hpet.c')
| -rw-r--r-- | hw/timer/hpet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/hpet.c b/hw/timer/hpet.c index 5399f1b2a3..46886c379e 100644 --- a/hw/timer/hpet.c +++ b/hw/timer/hpet.c @@ -745,7 +745,7 @@ static void hpet_realize(DeviceState *dev, Error **errp) qdev_init_gpio_out(dev, &s->pit_enabled, 1); } -static Property hpet_device_properties[] = { +static const Property hpet_device_properties[] = { DEFINE_PROP_UINT8("timers", HPETState, num_timers, HPET_MIN_TIMERS), DEFINE_PROP_BIT("msi", HPETState, flags, HPET_MSI_SUPPORT, false), DEFINE_PROP_UINT32(HPET_INTCAP, HPETState, intcap, 0), |