summary refs log tree commit diff stats
path: root/hw/net/ftgmac100.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/ftgmac100.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/ftgmac100.c')
-rw-r--r--hw/net/ftgmac100.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/net/ftgmac100.c b/hw/net/ftgmac100.c
index 478356ee3e..4adc7fb10c 100644
--- a/hw/net/ftgmac100.c
+++ b/hw/net/ftgmac100.c
@@ -1254,7 +1254,7 @@ static const VMStateDescription vmstate_ftgmac100 = {
     }
 };
 
-static Property ftgmac100_properties[] = {
+static const Property ftgmac100_properties[] = {
     DEFINE_PROP_BOOL("aspeed", FTGMAC100State, aspeed, false),
     DEFINE_NIC_PROPERTIES(FTGMAC100State, conf),
     DEFINE_PROP_BOOL("dma64", FTGMAC100State, dma64, false),
@@ -1415,7 +1415,7 @@ static const VMStateDescription vmstate_aspeed_mii = {
     }
 };
 
-static Property aspeed_mii_properties[] = {
+static const Property aspeed_mii_properties[] = {
     DEFINE_PROP_LINK("nic", AspeedMiiState, nic, TYPE_FTGMAC100,
                      FTGMAC100State *),
     DEFINE_PROP_END_OF_LIST(),