diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-13 16:30:22 +0000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-15 12:55:44 -0600 |
| commit | 3fac046e4aafeecf973afaece3e1cde969b7871a (patch) | |
| tree | 46531a0872be2c9d7ea21225893560bb90b5e630 /hw/nubus/nubus-device.c | |
| parent | e732f00f32e3826668db2b8b81fcf48a3a60a283 (diff) | |
| download | focaccia-qemu-3fac046e4aafeecf973afaece3e1cde969b7871a.tar.gz focaccia-qemu-3fac046e4aafeecf973afaece3e1cde969b7871a.zip | |
hw/nubus: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/nubus/nubus-device.c')
| -rw-r--r-- | hw/nubus/nubus-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/nubus/nubus-device.c b/hw/nubus/nubus-device.c index 26fbcf29a2..7cafc13427 100644 --- a/hw/nubus/nubus-device.c +++ b/hw/nubus/nubus-device.c @@ -107,7 +107,7 @@ static void nubus_device_realize(DeviceState *dev, Error **errp) } } -static Property nubus_device_properties[] = { +static const Property nubus_device_properties[] = { DEFINE_PROP_INT32("slot", NubusDevice, slot, -1), DEFINE_PROP_STRING("romfile", NubusDevice, romfile), DEFINE_PROP_END_OF_LIST() |