summaryrefslogtreecommitdiffstats
path: root/hw/realview.c
diff options
context:
space:
mode:
authorPaolo Bonzini2012-10-31 10:42:51 +0100
committerPaolo Bonzini2012-10-31 10:42:51 +0100
commitf563a5d7a820424756f358e747238f03e866838a (patch)
treef78fa474b1933bd395af401a6d745150f4ecd15e /hw/realview.c
parentraw-win32: implement native asynchronous I/O (diff)
parenttap-win32: stubs to fix win32 build (diff)
downloadqemu-f563a5d7a820424756f358e747238f03e866838a.tar.gz
qemu-f563a5d7a820424756f358e747238f03e866838a.tar.xz
qemu-f563a5d7a820424756f358e747238f03e866838a.zip
Merge remote-tracking branch 'origin/master' into threadpool
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/realview.c')
-rw-r--r--hw/realview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/realview.c b/hw/realview.c
index baa92d42fd..b5cb08cb84 100644
--- a/hw/realview.c
+++ b/hw/realview.c
@@ -227,7 +227,7 @@ static void realview_init(ram_addr_t ram_size,
sysbus_connect_irq(busdev, 2, pic[50]);
sysbus_connect_irq(busdev, 3, pic[51]);
pci_bus = (PCIBus *)qdev_get_child_bus(dev, "pci");
- if (usb_enabled) {
+ if (usb_enabled(false)) {
pci_create_simple(pci_bus, -1, "pci-ohci");
}
n = drive_get_max_bus(IF_SCSI);