We are missing these when building the pci_dev from scratch off the Open Firmware device-tree
Showing the changes to include (1 of 3 files). Show all
Unified · Split
| @@ -756,6 +756,10 @@ pci_power_t pci_target_state(struct pci_dev *dev); · 755 unmodified lines | ||
| 756 | 756 | int pci_prepare_to_sleep(struct pci_dev *dev); |
| 757 | 757 | int pci_back_from_sleep(struct pci_dev *dev); |
| 758 | 758 | |
| 759 | +/* For use by arch with custom probe code */ | |
| 760 | +void set_pcie_port_type(struct pci_dev *pdev); | |
| 761 | +void set_pcie_hotplug_bridge(struct pci_dev *pdev); | |
| 762 | + | |
| 759 | 763 | /* Functions for PCI Hotplug drivers to use */ |
| 760 | 764 | int pci_bus_find_capability(struct pci_bus *bus, unsigned int devfn, int cap); |
| 761 | 765 | #ifdef CONFIG_HOTPLUG |