mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13: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
|
@ -462,7 +462,7 @@ static void aw_emac_realize(DeviceState *dev, Error **errp)
|
|||
fifo8_create(&s->tx_fifo[1], TX_FIFO_SIZE);
|
||||
}
|
||||
|
||||
static Property aw_emac_properties[] = {
|
||||
static const Property aw_emac_properties[] = {
|
||||
DEFINE_NIC_PROPERTIES(AwEmacState, conf),
|
||||
DEFINE_PROP_UINT8("phy-addr", AwEmacState, phy_addr, 0),
|
||||
DEFINE_PROP_END_OF_LIST(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue