diff options
Diffstat (limited to 'hw/pci-host/grackle.c')
-rw-r--r-- | hw/pci-host/grackle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/pci-host/grackle.c b/hw/pci-host/grackle.c index 75b60d36ac..ba6017fc52 100644 --- a/hw/pci-host/grackle.c +++ b/hw/pci-host/grackle.c @@ -130,7 +130,7 @@ static void grackle_pci_class_init(ObjectClass *klass, void *data) k->device_id = PCI_DEVICE_ID_MOTOROLA_MPC106; k->revision = 0x00; k->class_id = PCI_CLASS_BRIDGE_HOST; - dc->no_user = 1; + dc->cannot_instantiate_with_device_add_yet = true; /* FIXME explain why */ } static const TypeInfo grackle_pci_info = { @@ -146,7 +146,7 @@ static void pci_grackle_class_init(ObjectClass *klass, void *data) DeviceClass *dc = DEVICE_CLASS(klass); k->init = pci_grackle_init_device; - dc->no_user = 1; + dc->cannot_instantiate_with_device_add_yet = true; /* FIXME explain why */ } static const TypeInfo grackle_pci_host_info = { |