aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2013-08-21 23:24:44 -0400
committerBjorn Helgaas <bhelgaas@google.com>2013-08-22 12:47:02 -0400
commita58674ff8383f5b8f6a77f03c48f6a47840b9325 (patch)
treeb07c7f08dc3bd929131d6dc164d27cf8c0903cff /include/linux/pci.h
parent2c25e34c7531ca1849b85cbcdb5a2f507ffe240c (diff)
PCI: Simplify pcie_bus_configure_settings() interface
Based on a patch by Jon Mason (see URL below). All users of pcie_bus_configure_settings() pass arguments of the form "bus, bus->self->pcie_mpss". The "mpss" argument is redundant since we can easily look it up internally. In addition, all callers check "bus->self" for NULL, which we can also do internally. This patch simplifies the interface and the callers. No functional change. Reference: http://lkml.kernel.org/r/1317048850-30728-2-git-send-email-mason@myri.com Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r--include/linux/pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 0fd1f1582fa1..57062b7a20ba 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -675,7 +675,7 @@ struct pci_driver {
675/* these external functions are only available when PCI support is enabled */ 675/* these external functions are only available when PCI support is enabled */
676#ifdef CONFIG_PCI 676#ifdef CONFIG_PCI
677 677
678void pcie_bus_configure_settings(struct pci_bus *bus, u8 smpss); 678void pcie_bus_configure_settings(struct pci_bus *bus);
679 679
680enum pcie_bus_config_types { 680enum pcie_bus_config_types {
681 PCIE_BUS_TUNE_OFF, 681 PCIE_BUS_TUNE_OFF,