aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2012-11-09 10:00:07 -0700
committerBjorn Helgaas <bhelgaas@google.com>2012-11-09 10:00:07 -0700
commit05508270064efd674e8f2a047911dcd7776aaae0 (patch)
tree87ae59fbeb5ad6d3d0d155e1b85436a9047458a0 /drivers/pci
parentMerge branch 'pci/yinghai-for-pci-root-bus-hotplug' into next (diff)
parentPCI/ACPI: Request _OSC control before scanning PCI root bus (diff)
downloadlinux-dev-05508270064efd674e8f2a047911dcd7776aaae0.tar.xz
linux-dev-05508270064efd674e8f2a047911dcd7776aaae0.zip
Merge branch 'pci/taku-prt-cleanup' into next
* pci/taku-prt-cleanup: PCI/ACPI: Request _OSC control before scanning PCI root bus PCI: Don't pass pci_dev to pci_ext_cfg_avail() PCI/ACPI: Add _PRT interrupt routing info before enumerating devices ACPI: Pass segment/bus to _PRT add/del so they don't depend on pci_bus
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/pci.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 485cfa9af2ef..05a510d1bb30 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -3843,14 +3843,13 @@ static void __devinit pci_no_domains(void)
}
/**
- * pci_ext_cfg_enabled - can we access extended PCI config space?
- * @dev: The PCI device of the root bridge.
+ * pci_ext_cfg_avail - can we access extended PCI config space?
*
* Returns 1 if we can access PCI extended config space (offsets
* greater than 0xff). This is the default implementation. Architecture
* implementations can override this.
*/
-int __weak pci_ext_cfg_avail(struct pci_dev *dev)
+int __weak pci_ext_cfg_avail(void)
{
return 1;
}