mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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:
parent
3002997310
commit
e732f00f32
40 changed files with 41 additions and 41 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue