代码
1 struct bus_type pci_bus_type = { 2 .name = "pci", 3 .match = pci_bus_match, 4 .uevent = pci_uevent, 5 .probe = pci_device_probe, 6 .remove = pci_device_remove, 7 .shutdown = pci_device_shutdown, 8 .dev_attrs = pci_dev_attrs, 9 .bus_attrs = pci_bus_attrs, 10 .pm = PCI_PM_OPS_PTR, 11 };