Message ID | 51F31648.3090003@suse.de |
---|---|
State | New |
Headers | show |
diff --git a/hw/pci-host/apb.c b/hw/pci-host/apb.c index 1e80556..870b05b 100644 --- a/hw/pci-host/apb.c +++ b/hw/pci-host/apb.c @@ -564,8 +564,7 @@ static void pbm_pci_bridge_class_init(ObjectClass *klass, void *data) static const TypeInfo pbm_pci_bridge_info = { .name = "pbm-bridge", - .parent = TYPE_PCI_DEVICE, - .instance_size = sizeof(PCIBridge), + .parent = TYPE_PCI_BRIDGE, .class_init = pbm_pci_bridge_class_init, };