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 07d5c7424b01..284ef392c3ea 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/pci-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 */ |
@@ -1014,6 +1015,10 @@ int pci_scan_slot(struct pci_bus *bus, int devfn) | |||
1014 | break; | 1015 | break; |
1015 | } | 1016 | } |
1016 | } | 1017 | } |
1018 | |||
1019 | if (bus->self) | ||
1020 | pcie_aspm_init_link_state(bus->self); | ||
1021 | |||
1017 | return nr; | 1022 | return nr; |
1018 | } | 1023 | } |
1019 | 1024 | ||