mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
hw/usb: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-59-richard.henderson@linaro.org>
This commit is contained in:
parent
5e6aceb2dd
commit
3abedf29b4
25 changed files with 49 additions and 49 deletions
|
@ -648,7 +648,7 @@ static void usb_dwc3_init(Object *obj)
|
|||
static const VMStateDescription vmstate_usb_dwc3 = {
|
||||
.name = "usb-dwc3",
|
||||
.version_id = 1,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_UINT32_ARRAY(regs, USBDWC3, USB_DWC3_R_MAX),
|
||||
VMSTATE_UINT8(cfg.mode, USBDWC3),
|
||||
VMSTATE_UINT32(cfg.dwc_usb3_user, USBDWC3),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue