aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/pcie/aspm.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/pci/pcie/aspm.c b/drivers/pci/pcie/aspm.c
index f1272dc54de1..e1e7026b838d 100644
--- a/drivers/pci/pcie/aspm.c
+++ b/drivers/pci/pcie/aspm.c
@@ -984,18 +984,6 @@ void pcie_no_aspm(void)
984 } 984 }
985} 985}
986 986
987/**
988 * pcie_aspm_enabled - is PCIe ASPM enabled?
989 *
990 * Returns true if ASPM has not been disabled by the command-line option
991 * pcie_aspm=off.
992 **/
993int pcie_aspm_enabled(void)
994{
995 return !aspm_disabled;
996}
997EXPORT_SYMBOL(pcie_aspm_enabled);
998
999bool pcie_aspm_support_enabled(void) 987bool pcie_aspm_support_enabled(void)
1000{ 988{
1001 return aspm_support_enabled; 989 return aspm_support_enabled;