diff options
Diffstat (limited to 'hw/ppc4xx_pci.c')
-rw-r--r-- | hw/ppc4xx_pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/ppc4xx_pci.c b/hw/ppc4xx_pci.c index 7ebfcc05fd..45ab3be21f 100644 --- a/hw/ppc4xx_pci.c +++ b/hw/ppc4xx_pci.c @@ -370,7 +370,8 @@ PCIBus *ppc4xx_pci_init(CPUState *env, qemu_irq pci_irqs[4], controller = qemu_mallocz(sizeof(PPC4xxPCIState)); - controller->pci_state.bus = pci_register_bus(ppc4xx_pci_set_irq, + controller->pci_state.bus = pci_register_bus(NULL, "pci", + ppc4xx_pci_set_irq, ppc4xx_pci_map_irq, pci_irqs, 0, 4); |