aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc/pnv_sbe.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ppc/pnv_sbe.c')
-rw-r--r--hw/ppc/pnv_sbe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/pnv_sbe.c b/hw/ppc/pnv_sbe.c
index 1c7812a135..74cee4eea7 100644
--- a/hw/ppc/pnv_sbe.c
+++ b/hw/ppc/pnv_sbe.c
@@ -381,7 +381,7 @@ static void pnv_sbe_realize(DeviceState *dev, Error **errp)
psc->xscom_mbox_ops, sbe, "xscom-sbe-mbox",
psc->xscom_mbox_size);
- qdev_init_gpio_out(DEVICE(dev), &sbe->psi_irq, 1);
+ qdev_init_gpio_out(dev, &sbe->psi_irq, 1);
sbe->timer = timer_new_us(QEMU_CLOCK_VIRTUAL, sbe_timer, sbe);
}