summaryrefslogtreecommitdiffstats
path: root/hw/misc
diff options
context:
space:
mode:
authorPeter Maydell2014-07-22 18:10:01 +0200
committerPeter Maydell2014-07-22 18:53:36 +0200
commitef493d5c291e4689d64ff4973915a7442109a5c5 (patch)
treea34e403c68a20f44618ca8cd7cd69338227b4d68 /hw/misc
parentvmstate_xhci_event: fix unterminated field list (diff)
downloadqemu-ef493d5c291e4689d64ff4973915a7442109a5c5.tar.gz
qemu-ef493d5c291e4689d64ff4973915a7442109a5c5.tar.xz
qemu-ef493d5c291e4689d64ff4973915a7442109a5c5.zip
hw/misc/imx_ccm.c: Add missing VMState list terminator
The VMStateDescription for the imx_ccm device was missing its terminator. Found by static search of the codebase using a regex based on one suggested by Ian Jackson: pcregrep -rMi '(?s)VMStateField(?:(?!END_OF_LIST).)*?;' $(git grep -l 'VMStateField\[\]') Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Cc: qemu-stable@nongnu.org
Diffstat (limited to 'hw/misc')
-rw-r--r--hw/misc/imx_ccm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/misc/imx_ccm.c b/hw/misc/imx_ccm.c
index 750b9061db..0920288634 100644
--- a/hw/misc/imx_ccm.c
+++ b/hw/misc/imx_ccm.c
@@ -67,6 +67,7 @@ static const VMStateDescription vmstate_imx_ccm = {
VMSTATE_UINT32(pmcr0, IMXCCMState),
VMSTATE_UINT32(pmcr1, IMXCCMState),
VMSTATE_UINT32(pll_refclk_freq, IMXCCMState),
+ VMSTATE_END_OF_LIST()
},
.post_load = imx_ccm_post_load,
};