summaryrefslogtreecommitdiff
path: root/hw/max111x.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/max111x.c')
-rw-r--r--hw/max111x.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/max111x.c b/hw/max111x.c
index bd656bb534..2844665ba3 100644
--- a/hw/max111x.c
+++ b/hw/max111x.c
@@ -143,7 +143,8 @@ static int max111x_init(SSISlave *dev, int inputs)
s->input[7] = 0x80;
s->com = 0;
- register_savevm("max111x", -1, 0, max111x_save, max111x_load, s);
+ register_savevm(&dev->qdev, "max111x", -1, 0,
+ max111x_save, max111x_load, s);
return 0;
}