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/lance.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/lance.c')
| -rw-r--r-- | hw/net/lance.c | 2 |
1 files changed, 1 insertions, 1 deletions
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), |