From 74734e2b1b77b7753bd5f5578acfbb2a81fe3ec2 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 13 Dec 2024 16:51:42 +0000 Subject: hw/timer: Constify all Property MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Cédric Le Goater Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- hw/timer/xilinx_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/timer/xilinx_timer.c') diff --git a/hw/timer/xilinx_timer.c b/hw/timer/xilinx_timer.c index 32a9df6..7fe3e83 100644 --- a/hw/timer/xilinx_timer.c +++ b/hw/timer/xilinx_timer.c @@ -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(), -- cgit v1.1