Skip to contentSkip to conversation

ich9: fix skipped vmstate_memhp_state subsection

PATCH In review Paulo Alcantara 2 participants 2 messages Jul 13, 2015 – Jul 14, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ich9: fix skipped vmstate_memhp_state subsection

By declaring another .subsections array for vmstate_tco_io_state made vmstate_memhp_state not registered anymore. There must be only one .subsections array for all subsections.

---
 hw/acpi/ich9.c | 3 ---
 1 file changed, 3 deletions(-)
hw/acpi/ich9.c +0 -3
index 5fb7a87..f04f6dc 100644
@@ -206,9 +206,6 @@ const VMStateDescription vmstate_ich9_pm = {
     },
     .subsections = (const VMStateDescription*[]) {
         &vmstate_memhp_state,
-        NULL
-    },
-    .subsections = (const VMStateDescription*[]) {
         &vmstate_tco_io_state,
         NULL
     }
Signature · 1 line
2.1.0