mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
f1ae32a1ec
commit
afb9a60ecb
13 changed files with 11 additions and 60 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue