aboutsummaryrefslogtreecommitdiff
path: root/hw/net/e1000.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/e1000.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/e1000.c')
-rw-r--r--hw/net/e1000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/e1000.c b/hw/net/e1000.c
index ab72236..ef0af31 100644
--- a/hw/net/e1000.c
+++ b/hw/net/e1000.c
@@ -1677,7 +1677,7 @@ static void pci_e1000_realize(PCIDevice *pci_dev, Error **errp)
e1000_flush_queue_timer, d);
}
-static Property e1000_properties[] = {
+static const Property e1000_properties[] = {
DEFINE_NIC_PROPERTIES(E1000State, conf),
DEFINE_PROP_BIT("extra_mac_registers", E1000State,
compat_flags, E1000_FLAG_MAC_BIT, true),