diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-03-07 15:06:32 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-03-13 10:15:32 +0100 |
commit | afb9a60ecb391cbccfd38e6bf400ebfcf40c5d0c (patch) | |
tree | 85c52e53dc2c751c84db838d3ccdae5be00258b4 /hw/pc_piix.c | |
parent | f1ae32a1ecda8aaff7a355c9030c0d8c363f3a70 (diff) | |
download | qemu-afb9a60ecb391cbccfd38e6bf400ebfcf40c5d0c.zip qemu-afb9a60ecb391cbccfd38e6bf400ebfcf40c5d0c.tar.gz qemu-afb9a60ecb391cbccfd38e6bf400ebfcf40c5d0c.tar.bz2 |
usb: zap hw/ush-{ohic,uhci}.h + init wrappers
Remove the uhci and ohci init wrappers, which all wrapped a
pci_create_simple() one-liner. Switch callsites to call
pci_create_simple directly. Remove the header files where
the wrappers where declared.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/pc_piix.c')
-rw-r--r-- | hw/pc_piix.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/pc_piix.c b/hw/pc_piix.c index 6c5c40f..3f99f9a 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c @@ -28,8 +28,6 @@ #include "pc.h" #include "apic.h" #include "pci.h" -#include "usb-uhci.h" -#include "usb-ohci.h" #include "net.h" #include "boards.h" #include "ide.h" @@ -284,7 +282,7 @@ static void pc_init1(MemoryRegion *system_memory, floppy, idebus[0], idebus[1], rtc_state); if (pci_enabled && usb_enabled) { - usb_uhci_piix3_init(pci_bus, piix3_devfn + 2); + pci_create_simple(pci_bus, piix3_devfn + 2, "piix3-usb-uhci"); } if (pci_enabled && acpi_enabled) { |