diff options
Diffstat (limited to 'drivers/pci/probe.c')
-rw-r--r-- | drivers/pci/probe.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 4262dfec5676..9b4673df27e7 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c | |||
@@ -9,6 +9,7 @@ | |||
9 | #include <linux/slab.h> | 9 | #include <linux/slab.h> |
10 | #include <linux/module.h> | 10 | #include <linux/module.h> |
11 | #include <linux/cpumask.h> | 11 | #include <linux/cpumask.h> |
12 | #include <linux/aspm.h> | ||
12 | #include "pci.h" | 13 | #include "pci.h" |
13 | 14 | ||
14 | #define CARDBUS_LATENCY_TIMER 176 /* secondary latency timer */ | 15 | #define CARDBUS_LATENCY_TIMER 176 /* secondary latency timer */ |
@@ -1010,6 +1011,10 @@ int pci_scan_slot(struct pci_bus *bus, int devfn) | |||
1010 | break; | 1011 | break; |
1011 | } | 1012 | } |
1012 | } | 1013 | } |
1014 | |||
1015 | if (bus->self) | ||
1016 | pcie_aspm_init_link_state(bus->self); | ||
1017 | |||
1013 | return nr; | 1018 | return nr; |
1014 | } | 1019 | } |
1015 | 1020 | ||