diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-13 16:27:31 +0000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-15 12:55:41 -0600 |
| commit | e732f00f32e3826668db2b8b81fcf48a3a60a283 (patch) | |
| tree | 89075a7c06f75aafb4ac0df02a3fabb3fd91caad /hw/net/lan9118.c | |
| parent | 30029973103ac7f7ffb7bce0f088b773ad9f5dae (diff) | |
| download | focaccia-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/lan9118.c')
| -rw-r--r-- | hw/net/lan9118.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/lan9118.c b/hw/net/lan9118.c index 99e87b7178..237e9b97d5 100644 --- a/hw/net/lan9118.c +++ b/hw/net/lan9118.c @@ -1304,7 +1304,7 @@ static void lan9118_realize(DeviceState *dev, Error **errp) ptimer_transaction_commit(s->timer); } -static Property lan9118_properties[] = { +static const Property lan9118_properties[] = { DEFINE_NIC_PROPERTIES(lan9118_state, conf), DEFINE_PROP_UINT32("mode_16bit", lan9118_state, mode_16bit, 0), DEFINE_PROP_END_OF_LIST(), |