diff options
Diffstat (limited to 'drivers/pci/pcie/aspm.c')
-rw-r--r-- | drivers/pci/pcie/aspm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/pci/pcie/aspm.c b/drivers/pci/pcie/aspm.c index f82495583e63..759c51a4e399 100644 --- a/drivers/pci/pcie/aspm.c +++ b/drivers/pci/pcie/aspm.c | |||
@@ -808,6 +808,11 @@ static int __init pcie_aspm_disable(char *str) | |||
808 | 808 | ||
809 | __setup("pcie_noaspm", pcie_aspm_disable); | 809 | __setup("pcie_noaspm", pcie_aspm_disable); |
810 | 810 | ||
811 | void pcie_no_aspm(void) | ||
812 | { | ||
813 | aspm_disabled = 1; | ||
814 | } | ||
815 | |||
811 | #ifdef CONFIG_ACPI | 816 | #ifdef CONFIG_ACPI |
812 | #include <acpi/acpi_bus.h> | 817 | #include <acpi/acpi_bus.h> |
813 | #include <linux/pci-acpi.h> | 818 | #include <linux/pci-acpi.h> |