mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43: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
|
@ -242,7 +242,7 @@ static void xilinx_timer_init(Object *obj)
|
|||
sysbus_init_irq(SYS_BUS_DEVICE(obj), &t->irq);
|
||||
}
|
||||
|
||||
static Property xilinx_timer_properties[] = {
|
||||
static const Property xilinx_timer_properties[] = {
|
||||
DEFINE_PROP_UINT32("clock-frequency", XpsTimerState, freq_hz, 62 * 1000000),
|
||||
DEFINE_PROP_UINT8("one-timer-only", XpsTimerState, one_timer_only, 0),
|
||||
DEFINE_PROP_END_OF_LIST(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue