diff options
Diffstat (limited to 'hw/ppc/prep.c')
-rw-r--r-- | hw/ppc/prep.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/ppc/prep.c b/hw/ppc/prep.c index 054af1e8b..3ffb85e60 100644 --- a/hw/ppc/prep.c +++ b/hw/ppc/prep.c @@ -22,7 +22,6 @@ * THE SOFTWARE. */ #include "qemu/osdep.h" -#include "cpu.h" #include "hw/hw.h" #include "hw/timer/m48t59.h" #include "hw/i386/pc.h" @@ -649,7 +648,7 @@ static void ppc_prep_init(MachineState *machine) memory_region_add_subregion(sysmem, 0xFEFF0000, xcsr); #endif - if (machine_usb(machine)) { + if (usb_enabled()) { pci_create_simple(pci_bus, -1, "pci-ohci"); } |