summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-01-26 17:10:03 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-01-29 16:51:10 +1100
commitbb209c8287d2d55ec4a67e3933346e0a3ee0da76 (patch)
tree2e444f273e631fa4dded4ee13ac779565e5efb43 /include
parentb04da8bfdfbbd79544cab2fadfdc12e87eb01600 (diff)
downloadop-kernel-dev-bb209c8287d2d55ec4a67e3933346e0a3ee0da76.zip
op-kernel-dev-bb209c8287d2d55ec4a67e3933346e0a3ee0da76.tar.gz
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 Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/pci.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 174e539..c1968f4 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -756,6 +756,10 @@ pci_power_t pci_target_state(struct pci_dev *dev);
int pci_prepare_to_sleep(struct pci_dev *dev);
int pci_back_from_sleep(struct pci_dev *dev);
+/* For use by arch with custom probe code */
+void set_pcie_port_type(struct pci_dev *pdev);
+void set_pcie_hotplug_bridge(struct pci_dev *pdev);
+
/* Functions for PCI Hotplug drivers to use */
int pci_bus_find_capability(struct pci_bus *bus, unsigned int devfn, int cap);
#ifdef CONFIG_HOTPLUG
OpenPOWER on IntegriCloud