History

powerpc/pci: Add calls to set_pcie_port_type() and set_pcie_hotplug_bridge()

We are missing these when building the pci_dev from scratch off the Open Firmware device-tree

Benjamin Herrenschmidt committed 16 years ago

Commit bb209c81 parent b04da8b3 files · +8 −2Browse files

Showing the changes to include (1 of 3 files). Show all

Unified · Split

include/linux/pci.h+4−0
@@ -756,6 +756,10 @@ pci_power_t pci_target_state(struct pci_dev *dev); · 755 unmodified lines
756756 int pci_prepare_to_sleep(struct pci_dev *dev);
757757 int pci_back_from_sleep(struct pci_dev *dev);
758758
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+
759763 /* Functions for PCI Hotplug drivers to use */
760764 int pci_bus_find_capability(struct pci_bus *bus, unsigned int devfn, int cap);
761765 #ifdef CONFIG_HOTPLUG