aboutsummaryrefslogtreecommitdiff
path: root/hw/pl022.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pl022.c')
-rw-r--r--hw/pl022.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/pl022.c b/hw/pl022.c
index 20d317c116..27cb7aff64 100644
--- a/hw/pl022.c
+++ b/hw/pl022.c
@@ -297,8 +297,7 @@ static void pl022_init(SysBusDevice *dev)
pl022_writefn, s);
sysbus_init_mmio(dev, 0x1000, iomemtype);
sysbus_init_irq(dev, &s->irq);
- s->ssi = ssi_create_bus();
- qdev_attach_child_bus(&dev->qdev, "ssi", s->ssi);
+ s->ssi = ssi_create_bus(&dev->qdev, "ssi");
pl022_reset(s);
register_savevm("pl022_ssp", -1, 1, pl022_save, pl022_load, s);
}