PCI: add PCI Express ASPM support
[deliverable/linux.git] / drivers / pci / probe.c
index 07d5c7424b0198947023101021b8f1cef7802b88..284ef392c3eaefd6124da029dc162625d4d7d9e2 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/slab.h>
 #include <linux/module.h>
 #include <linux/cpumask.h>
+#include <linux/pci-aspm.h>
 #include "pci.h"
 
 #define CARDBUS_LATENCY_TIMER  176     /* secondary latency timer */
@@ -1014,6 +1015,10 @@ int pci_scan_slot(struct pci_bus *bus, int devfn)
                                break;
                }
        }
+
+       if (bus->self)
+               pcie_aspm_init_link_state(bus->self);
+
        return nr;
 }
 
This page took 0.031979 seconds and 5 git commands to generate.