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>
This commit is contained in:
Richard Henderson 2024-12-13 16:27:31 +00:00
parent 3002997310
commit e732f00f32
40 changed files with 41 additions and 41 deletions

View file

@ -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(),