mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
hw/audio: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-24-richard.henderson@linaro.org>
This commit is contained in:
parent
993676279e
commit
856a6fe4f4
15 changed files with 25 additions and 25 deletions
|
@ -555,7 +555,7 @@ static const VMStateDescription vmstate_asc_fifo = {
|
|||
.name = "apple-sound-chip.fifo",
|
||||
.version_id = 0,
|
||||
.minimum_version_id = 0,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_UINT8_ARRAY(fifo, ASCFIFOState, ASC_FIFO_SIZE),
|
||||
VMSTATE_UINT8(int_status, ASCFIFOState),
|
||||
VMSTATE_INT32(cnt, ASCFIFOState),
|
||||
|
@ -575,7 +575,7 @@ static const VMStateDescription vmstate_asc = {
|
|||
.version_id = 0,
|
||||
.minimum_version_id = 0,
|
||||
.post_load = asc_post_load,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_STRUCT_ARRAY(fifos, ASCState, 2, 0, vmstate_asc_fifo,
|
||||
ASCFIFOState),
|
||||
VMSTATE_UINT8_ARRAY(regs, ASCState, ASC_REG_SIZE),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue