aboutsummaryrefslogtreecommitdiff
path: root/hw/net/stellaris_enet.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/stellaris_enet.c
parent30029973103ac7f7ffb7bce0f088b773ad9f5dae (diff)
downloadqemu-e732f00f32e3826668db2b8b81fcf48a3a60a283.zip
qemu-e732f00f32e3826668db2b8b81fcf48a3a60a283.tar.gz
qemu-e732f00f32e3826668db2b8b81fcf48a3a60a283.tar.bz2
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/stellaris_enet.c')
-rw-r--r--hw/net/stellaris_enet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/stellaris_enet.c b/hw/net/stellaris_enet.c
index 9ebff29..4af1afa 100644
--- a/hw/net/stellaris_enet.c
+++ b/hw/net/stellaris_enet.c
@@ -497,7 +497,7 @@ static void stellaris_enet_realize(DeviceState *dev, Error **errp)
qemu_format_nic_info_str(qemu_get_queue(s->nic), s->conf.macaddr.a);
}
-static Property stellaris_enet_properties[] = {
+static const Property stellaris_enet_properties[] = {
DEFINE_NIC_PROPERTIES(stellaris_enet_state, conf),
DEFINE_PROP_END_OF_LIST(),
};