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
|
@ -1158,7 +1158,7 @@ static int intel_hda_post_load(void *opaque, int version)
|
|||
static const VMStateDescription vmstate_intel_hda_stream = {
|
||||
.name = "intel-hda-stream",
|
||||
.version_id = 1,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_UINT32(ctl, IntelHDAStream),
|
||||
VMSTATE_UINT32(lpib, IntelHDAStream),
|
||||
VMSTATE_UINT32(cbl, IntelHDAStream),
|
||||
|
@ -1174,7 +1174,7 @@ static const VMStateDescription vmstate_intel_hda = {
|
|||
.name = "intel-hda",
|
||||
.version_id = 1,
|
||||
.post_load = intel_hda_post_load,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_PCI_DEVICE(pci, IntelHDAState),
|
||||
|
||||
/* registers */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue