aboutsummaryrefslogtreecommitdiff
path: root/hw/pl022.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pl022.c')
-rw-r--r--hw/pl022.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pl022.c b/hw/pl022.c
index c2e2ddafef..d7862bc692 100644
--- a/hw/pl022.c
+++ b/hw/pl022.c
@@ -299,7 +299,7 @@ static int pl022_init(SysBusDevice *dev)
sysbus_init_irq(dev, &s->irq);
s->ssi = ssi_create_bus(&dev->qdev, "ssi");
pl022_reset(s);
- register_savevm("pl022_ssp", -1, 1, pl022_save, pl022_load, s);
+ register_savevm(&dev->qdev, "pl022_ssp", -1, 1, pl022_save, pl022_load, s);
return 0;
}