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/ppc_prep.c | |
parent | f1ae32a1ecda8aaff7a355c9030c0d8c363f3a70 (diff) | |
download | hqemu-afb9a60ecb391cbccfd38e6bf400ebfcf40c5d0c.zip hqemu-afb9a60ecb391cbccfd38e6bf400ebfcf40c5d0c.tar.gz |
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/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 eb43fb5..dc9edd7 100644 --- a/hw/ppc_prep.c +++ b/hw/ppc_prep.c @@ -30,7 +30,6 @@ #include "isa.h" #include "pci.h" #include "pci_host.h" -#include "usb-ohci.h" #include "ppc.h" #include "boards.h" #include "qemu-log.h" @@ -688,7 +687,7 @@ static void ppc_prep_init (ram_addr_t ram_size, #endif if (usb_enabled) { - usb_ohci_init_pci(pci_bus, -1); + pci_create_simple(pci_bus, -1, "pci-ohci"); } m48t59 = m48t59_init_isa(isa_bus, 0x0074, NVRAM_SIZE, 59); |