diff options
Diffstat (limited to 'hw/lm32.h')
-rw-r--r-- | hw/lm32.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ static inline DeviceState *lm32_pic_init(qemu_irq cpu_irq) dev = qdev_create(NULL, "lm32-pic"); qdev_init_nofail(dev); - d = sysbus_from_qdev(dev); + d = SYS_BUS_DEVICE(dev); sysbus_connect_irq(d, 0, cpu_irq); return dev; |