summary refs log tree commit diff stats
path: root/hw/net/rocker/rocker.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 16:27:31 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:55:41 -0600
commite732f00f32e3826668db2b8b81fcf48a3a60a283 (patch)
tree89075a7c06f75aafb4ac0df02a3fabb3fd91caad /hw/net/rocker/rocker.c
parent30029973103ac7f7ffb7bce0f088b773ad9f5dae (diff)
downloadfocaccia-qemu-e732f00f32e3826668db2b8b81fcf48a3a60a283.tar.gz
focaccia-qemu-e732f00f32e3826668db2b8b81fcf48a3a60a283.zip
hw/net: Constify all Property
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/net/rocker/rocker.c')
-rw-r--r--hw/net/rocker/rocker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/rocker/rocker.c b/hw/net/rocker/rocker.c
index 5e74acc969..efc20396aa 100644
--- a/hw/net/rocker/rocker.c
+++ b/hw/net/rocker/rocker.c
@@ -1459,7 +1459,7 @@ static void rocker_reset(DeviceState *dev)
     DPRINTF("Reset done\n");
 }
 
-static Property rocker_properties[] = {
+static const Property rocker_properties[] = {
     DEFINE_PROP_STRING("name", Rocker, name),
     DEFINE_PROP_STRING("world", Rocker, world_name),
     DEFINE_PROP_MACADDR("fp_start_macaddr", Rocker,