diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-13 15:23:44 +0000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-15 12:54:44 -0600 |
| commit | f5ca2d6233c88464bcf2616bc8697247cb57bcc5 (patch) | |
| tree | e284a811764c303461116d526eb2d2edae1afdf3 /hw/core/platform-bus.c | |
| parent | 312f37d18ad53e2e62fdd2dda7c38322866d77f1 (diff) | |
| download | focaccia-qemu-f5ca2d6233c88464bcf2616bc8697247cb57bcc5.tar.gz focaccia-qemu-f5ca2d6233c88464bcf2616bc8697247cb57bcc5.zip | |
hw/core: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/core/platform-bus.c')
| -rw-r--r-- | hw/core/platform-bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
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() |