aboutsummaryrefslogtreecommitdiff
path: root/hw/exynos4210_gic.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/exynos4210_gic.c')
-rw-r--r--hw/exynos4210_gic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/exynos4210_gic.c b/hw/exynos4210_gic.c
index f67906e42f..94b138fa46 100644
--- a/hw/exynos4210_gic.c
+++ b/hw/exynos4210_gic.c
@@ -290,7 +290,7 @@ static int exynos4210_gic_init(SysBusDevice *dev)
qdev_prop_set_uint32(s->gic, "num-cpu", s->num_cpu);
qdev_prop_set_uint32(s->gic, "num-irq", EXYNOS4210_GIC_NIRQ);
qdev_init_nofail(s->gic);
- busdev = sysbus_from_qdev(s->gic);
+ busdev = SYS_BUS_DEVICE(s->gic);
/* Pass through outbound IRQ lines from the GIC */
sysbus_pass_irq(dev, busdev);