aboutsummaryrefslogtreecommitdiff
path: root/hw/syborg_keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/syborg_keyboard.c')
-rw-r--r--hw/syborg_keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/syborg_keyboard.c b/hw/syborg_keyboard.c
index 4a562f85de..7709100c14 100644
--- a/hw/syborg_keyboard.c
+++ b/hw/syborg_keyboard.c
@@ -220,7 +220,7 @@ static int syborg_keyboard_init(SysBusDevice *dev)
qemu_add_kbd_event_handler(syborg_keyboard_event, s);
- register_savevm("syborg_keyboard", -1, 1,
+ register_savevm(&dev->qdev, "syborg_keyboard", -1, 1,
syborg_keyboard_save, syborg_keyboard_load, s);
return 0;
}