mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
dc418eb220
commit
74734e2b1b
20 changed files with 20 additions and 20 deletions
|
@ -403,7 +403,7 @@ static void grlib_gptimer_realize(DeviceState *dev, Error **errp)
|
|||
sysbus_init_mmio(sbd, &unit->iomem);
|
||||
}
|
||||
|
||||
static Property grlib_gptimer_properties[] = {
|
||||
static const Property grlib_gptimer_properties[] = {
|
||||
DEFINE_PROP_UINT32("frequency", GPTimerUnit, freq_hz, 40000000),
|
||||
DEFINE_PROP_UINT32("irq-line", GPTimerUnit, irq_line, 8),
|
||||
DEFINE_PROP_UINT32("nr-timers", GPTimerUnit, nr_timers, 2),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue