diff options
Diffstat (limited to 'hw/pci.c')
-rw-r--r-- | hw/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -62,7 +62,6 @@ struct BusInfo pci_bus_info = { .get_dev_path = pcibus_get_dev_path, .get_fw_dev_path = pcibus_get_fw_dev_path, .reset = pcibus_reset, - .props = pci_props, }; static PCIBus *pci_find_bus_nr(PCIBus *bus, int bus_num); @@ -2003,6 +2002,7 @@ static void pci_device_class_init(ObjectClass *klass, void *data) k->unplug = pci_unplug_device; k->exit = pci_unregister_device; k->bus_info = &pci_bus_info; + k->props = pci_props; } static TypeInfo pci_device_type_info = { |