summaryrefslogtreecommitdiff
path: root/hw/input
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-01-08 10:18:59 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2015-01-26 12:22:44 +0100
commite720677e32e70b1f60637ebbcf2ffb23a4607f3e (patch)
treea071194eed82e149c6d6a7acea038d4bb9cf885a /hw/input
parentcd1bd53a669c88f219ca47b538889cd918605fea (diff)
downloadqemu-e720677e32e70b1f60637ebbcf2ffb23a4607f3e.tar.gz
qemu-e720677e32e70b1f60637ebbcf2ffb23a4607f3e.tar.bz2
qemu-e720677e32e70b1f60637ebbcf2ffb23a4607f3e.zip
vmstate: accept QEMUTimer in VMSTATE_TIMER*, add VMSTATE_TIMER_PTR*
Old users of VMSTATE_TIMER* are mechanically changed to VMSTATE_TIMER_PTR variants. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/input')
-rw-r--r--hw/input/lm832x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/input/lm832x.c b/hw/input/lm832x.c
index 9eb68e87cb..530a6e01f5 100644
--- a/hw/input/lm832x.c
+++ b/hw/input/lm832x.c
@@ -455,7 +455,7 @@ static const VMStateDescription vmstate_lm_kbd = {
VMSTATE_UINT16_ARRAY(pwm.file, LM823KbdState, 256),
VMSTATE_UINT8(pwm.faddr, LM823KbdState),
VMSTATE_BUFFER(pwm.addr, LM823KbdState),
- VMSTATE_TIMER_ARRAY(pwm.tm, LM823KbdState, 3),
+ VMSTATE_TIMER_PTR_ARRAY(pwm.tm, LM823KbdState, 3),
VMSTATE_END_OF_LIST()
}
};