From f5ca2d6233c88464bcf2616bc8697247cb57bcc5 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 13 Dec 2024 15:23:44 +0000 Subject: hw/core: Constify all Property MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- hw/core/platform-bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/core/platform-bus.c') diff --git a/hw/core/platform-bus.c b/hw/core/platform-bus.c index dc58bf505a..a29c9c6e59 100644 --- a/hw/core/platform-bus.c +++ b/hw/core/platform-bus.c @@ -204,7 +204,7 @@ static void platform_bus_realize(DeviceState *dev, Error **errp) plaform_bus_refresh_irqs(pbus); } -static Property platform_bus_properties[] = { +static const Property platform_bus_properties[] = { DEFINE_PROP_UINT32("num_irqs", PlatformBusDevice, num_irqs, 0), DEFINE_PROP_UINT32("mmio_size", PlatformBusDevice, mmio_size, 0), DEFINE_PROP_END_OF_LIST() -- cgit 1.4.1