aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/pci.c')
-rw-r--r--drivers/pci/pci.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 9e31c0ab650e..8f169002dc7e 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -22,6 +22,7 @@
22#include <linux/interrupt.h> 22#include <linux/interrupt.h>
23#include <linux/device.h> 23#include <linux/device.h>
24#include <linux/pm_runtime.h> 24#include <linux/pm_runtime.h>
25#include <asm-generic/pci-bridge.h>
25#include <asm/setup.h> 26#include <asm/setup.h>
26#include "pci.h" 27#include "pci.h"
27 28
@@ -3900,6 +3901,8 @@ static int __init pci_setup(char *str)
3900 pcie_bus_config = PCIE_BUS_PERFORMANCE; 3901 pcie_bus_config = PCIE_BUS_PERFORMANCE;
3901 } else if (!strncmp(str, "pcie_bus_peer2peer", 18)) { 3902 } else if (!strncmp(str, "pcie_bus_peer2peer", 18)) {
3902 pcie_bus_config = PCIE_BUS_PEER2PEER; 3903 pcie_bus_config = PCIE_BUS_PEER2PEER;
3904 } else if (!strncmp(str, "pcie_scan_all", 13)) {
3905 pci_add_flags(PCI_SCAN_ALL_PCIE_DEVS);
3903 } else { 3906 } else {
3904 printk(KERN_ERR "PCI: Unknown option `%s'\n", 3907 printk(KERN_ERR "PCI: Unknown option `%s'\n",
3905 str); 3908 str);