diff mbox series

[33/71] hw/ipack: Constify all Property

Message ID 20241213190750.2513964-38-richard.henderson@linaro.org
State Superseded
Headers show
Series whole-tree: Constify Property structures | expand

Commit Message

Richard Henderson Dec. 13, 2024, 7:07 p.m. UTC
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 hw/ipack/ipack.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alberto Garcia Dec. 14, 2024, 12:05 a.m. UTC | #1
On Fri 13 Dec 2024 01:07:07 PM -06, Richard Henderson wrote:
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

Acked-by: Alberto Garcia <berto@igalia.com>

Berto
diff mbox series

Patch

diff --git a/hw/ipack/ipack.c b/hw/ipack/ipack.c
index c39dbb481f..7ffc4ffe6f 100644
--- a/hw/ipack/ipack.c
+++ b/hw/ipack/ipack.c
@@ -73,7 +73,7 @@  static void ipack_device_unrealize(DeviceState *dev)
     qemu_free_irqs(idev->irq, 2);
 }
 
-static Property ipack_device_props[] = {
+static const Property ipack_device_props[] = {
     DEFINE_PROP_INT32("slot", IPackDevice, slot, -1),
     DEFINE_PROP_END_OF_LIST()
 };