mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -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
|
@ -2042,7 +2042,7 @@ static const VMStateDescription vmstate_canfd = {
|
|||
}
|
||||
};
|
||||
|
||||
static Property canfd_core_properties[] = {
|
||||
static const Property canfd_core_properties[] = {
|
||||
DEFINE_PROP_UINT8("rx-fifo0", XlnxVersalCANFDState, cfg.rx0_fifo, 0x40),
|
||||
DEFINE_PROP_UINT8("rx-fifo1", XlnxVersalCANFDState, cfg.rx1_fifo, 0x40),
|
||||
DEFINE_PROP_UINT8("tx-fifo", XlnxVersalCANFDState, cfg.tx_fifo, 0x20),
|
||||
|
|
|
@ -1169,7 +1169,7 @@ static const VMStateDescription vmstate_can = {
|
|||
}
|
||||
};
|
||||
|
||||
static Property xlnx_zynqmp_can_properties[] = {
|
||||
static const Property xlnx_zynqmp_can_properties[] = {
|
||||
DEFINE_PROP_UINT32("ext_clk_freq", XlnxZynqMPCANState, cfg.ext_clk_freq,
|
||||
CAN_DEFAULT_CLOCK),
|
||||
DEFINE_PROP_LINK("canbus", XlnxZynqMPCANState, canbus, TYPE_CAN_BUS,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue