diff options
Diffstat (limited to 'hw/ppce500_spin.c')
-rw-r--r-- | hw/ppce500_spin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppce500_spin.c b/hw/ppce500_spin.c index 4c206e2834..7e90fb9824 100644 --- a/hw/ppce500_spin.c +++ b/hw/ppce500_spin.c @@ -196,7 +196,7 @@ static int ppce500_spin_initfn(SysBusDevice *dev) { SpinState *s; - s = FROM_SYSBUS(SpinState, sysbus_from_qdev(dev)); + s = FROM_SYSBUS(SpinState, SYS_BUS_DEVICE(dev)); memory_region_init_io(&s->iomem, &spin_rw_ops, s, "e500 spin pv device", sizeof(SpinInfo) * MAX_CPUS); |