From e732f00f32e3826668db2b8b81fcf48a3a60a283 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 13 Dec 2024 16:27:31 +0000 Subject: hw/net: Constify all Property MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Cédric Le Goater Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- hw/net/lance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/net/lance.c') diff --git a/hw/net/lance.c b/hw/net/lance.c index 269615b452..9ed9c94cff 100644 --- a/hw/net/lance.c +++ b/hw/net/lance.c @@ -137,7 +137,7 @@ static void lance_instance_init(Object *obj) DEVICE(obj)); } -static Property lance_properties[] = { +static const Property lance_properties[] = { DEFINE_PROP_LINK("dma", SysBusPCNetState, state.dma_opaque, TYPE_DEVICE, DeviceState *), DEFINE_NIC_PROPERTIES(SysBusPCNetState, state.conf), -- cgit 1.4.1