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
|
@ -1254,7 +1254,7 @@ static const VMStateDescription vmstate_ftgmac100 = {
|
|||
}
|
||||
};
|
||||
|
||||
static Property ftgmac100_properties[] = {
|
||||
static const Property ftgmac100_properties[] = {
|
||||
DEFINE_PROP_BOOL("aspeed", FTGMAC100State, aspeed, false),
|
||||
DEFINE_NIC_PROPERTIES(FTGMAC100State, conf),
|
||||
DEFINE_PROP_BOOL("dma64", FTGMAC100State, dma64, false),
|
||||
|
@ -1415,7 +1415,7 @@ static const VMStateDescription vmstate_aspeed_mii = {
|
|||
}
|
||||
};
|
||||
|
||||
static Property aspeed_mii_properties[] = {
|
||||
static const Property aspeed_mii_properties[] = {
|
||||
DEFINE_PROP_LINK("nic", AspeedMiiState, nic, TYPE_FTGMAC100,
|
||||
FTGMAC100State *),
|
||||
DEFINE_PROP_END_OF_LIST(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue