From cdd0935cbd345364fc6265feaa5814790947b7f9 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sat, 19 Sep 2009 17:59:10 +0000 Subject: PPC: make system bus parent of PCI bus Signed-off-by: Blue Swirl --- hw/grackle_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/grackle_pci.c') diff --git a/hw/grackle_pci.c b/hw/grackle_pci.c index 177c888..d878cf6 100644 --- a/hw/grackle_pci.c +++ b/hw/grackle_pci.c @@ -141,7 +141,7 @@ PCIBus *pci_grackle_init(uint32_t base, qemu_irq *pic) qdev_init(dev); s = sysbus_from_qdev(dev); d = FROM_SYSBUS(GrackleState, s); - d->host_state.bus = pci_register_bus(NULL, "pci", + d->host_state.bus = pci_register_bus(&d->busdev.qdev, "pci", pci_grackle_set_irq, pci_grackle_map_irq, pic, 0, 4); -- cgit v1.1