hw/misc/imx_ccm.c: Add missing VMState list terminator
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 22 Jul 2014 16:10:01 +0000 (17:10 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 22 Jul 2014 16:53:36 +0000 (17:53 +0100)
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
hw/misc/imx_ccm.c

index 750b9061db1bbcf4b17d0e66c669c2c0a4452dcf..0920288634d51e37a40cea75a2ba0546f8ee81c3 100644 (file)
@@ -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,
 };