diff options
Diffstat (limited to 'hw/xtensa_lx60.c')
-rw-r--r-- | hw/xtensa_lx60.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xtensa_lx60.c b/hw/xtensa_lx60.c index a85fe9b738..a810b9eae0 100644 --- a/hw/xtensa_lx60.c +++ b/hw/xtensa_lx60.c @@ -131,7 +131,7 @@ static void lx60_net_init(MemoryRegion *address_space, qdev_set_nic_properties(dev, nd); qdev_init_nofail(dev); - s = sysbus_from_qdev(dev); + s = SYS_BUS_DEVICE(dev); sysbus_connect_irq(s, 0, irq); memory_region_add_subregion(address_space, base, sysbus_mmio_get_region(s, 0)); |