diff options
Diffstat (limited to 'hw/realview.c')
-rw-r--r-- | hw/realview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/realview.c b/hw/realview.c index 49e07fd1d2..535f907626 100644 --- a/hw/realview.c +++ b/hw/realview.c @@ -109,7 +109,7 @@ static void realview_init(ram_addr_t ram_size, dev = sysbus_create_varargs("realview_pci", 0x60000000, pic[48], pic[49], pic[50], pic[51], NULL); - pci_bus = qdev_get_child_bus(dev, "pci"); + pci_bus = (PCIBus *)qdev_get_child_bus(dev, "pci"); if (usb_enabled) { usb_ohci_init_pci(pci_bus, 3, -1); } |