mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -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
|
@ -79,7 +79,7 @@ static void isa_ne2000_realizefn(DeviceState *dev, Error **errp)
|
|||
qemu_format_nic_info_str(qemu_get_queue(s->nic), s->c.macaddr.a);
|
||||
}
|
||||
|
||||
static Property ne2000_isa_properties[] = {
|
||||
static const Property ne2000_isa_properties[] = {
|
||||
DEFINE_PROP_UINT32("iobase", ISANE2000State, iobase, 0x300),
|
||||
DEFINE_PROP_UINT32("irq", ISANE2000State, isairq, 9),
|
||||
DEFINE_NIC_PROPERTIES(ISANE2000State, ne2000.c),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue