diff options
Diffstat (limited to 'hw/mips_mipssim.c')
-rw-r--r-- | hw/mips_mipssim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mips_mipssim.c b/hw/mips_mipssim.c index 8fd6692..b0ab8f6 100644 --- a/hw/mips_mipssim.c +++ b/hw/mips_mipssim.c @@ -123,7 +123,7 @@ static void mipsnet_init(int base, qemu_irq irq, NICInfo *nd) 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(get_system_io(), base, |