summary refs log tree commit diff stats
path: root/hw/net/e1000e.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/e1000e.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/e1000e.c')
-rw-r--r--hw/net/e1000e.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/e1000e.c b/hw/net/e1000e.c
index 843892ce09..e2b7576f67 100644
--- a/hw/net/e1000e.c
+++ b/hw/net/e1000e.c
@@ -661,7 +661,7 @@ static PropertyInfo e1000e_prop_disable_vnet,
                     e1000e_prop_subsys_ven,
                     e1000e_prop_subsys;
 
-static Property e1000e_properties[] = {
+static const Property e1000e_properties[] = {
     DEFINE_NIC_PROPERTIES(E1000EState, conf),
     DEFINE_PROP_SIGNED("disable_vnet_hdr", E1000EState, disable_vnet, false,
                         e1000e_prop_disable_vnet, bool),