diff options
Diffstat (limited to 'include/linux/pci-aspm.h')
-rw-r--r-- | include/linux/pci-aspm.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/pci-aspm.h b/include/linux/pci-aspm.h index 91ba0b338b47..7cea7b6c1413 100644 --- a/include/linux/pci-aspm.h +++ b/include/linux/pci-aspm.h | |||
@@ -26,7 +26,10 @@ | |||
26 | extern void pcie_aspm_init_link_state(struct pci_dev *pdev); | 26 | extern void pcie_aspm_init_link_state(struct pci_dev *pdev); |
27 | extern void pcie_aspm_exit_link_state(struct pci_dev *pdev); | 27 | extern void pcie_aspm_exit_link_state(struct pci_dev *pdev); |
28 | extern void pcie_aspm_pm_state_change(struct pci_dev *pdev); | 28 | extern void pcie_aspm_pm_state_change(struct pci_dev *pdev); |
29 | extern void pcie_aspm_powersave_config_link(struct pci_dev *pdev); | ||
29 | extern void pci_disable_link_state(struct pci_dev *pdev, int state); | 30 | extern void pci_disable_link_state(struct pci_dev *pdev, int state); |
31 | extern void pci_disable_link_state_locked(struct pci_dev *pdev, int state); | ||
32 | extern void pcie_clear_aspm(void); | ||
30 | extern void pcie_no_aspm(void); | 33 | extern void pcie_no_aspm(void); |
31 | #else | 34 | #else |
32 | static inline void pcie_aspm_init_link_state(struct pci_dev *pdev) | 35 | static inline void pcie_aspm_init_link_state(struct pci_dev *pdev) |
@@ -38,10 +41,15 @@ static inline void pcie_aspm_exit_link_state(struct pci_dev *pdev) | |||
38 | static inline void pcie_aspm_pm_state_change(struct pci_dev *pdev) | 41 | static inline void pcie_aspm_pm_state_change(struct pci_dev *pdev) |
39 | { | 42 | { |
40 | } | 43 | } |
44 | static inline void pcie_aspm_powersave_config_link(struct pci_dev *pdev) | ||
45 | { | ||
46 | } | ||
41 | static inline void pci_disable_link_state(struct pci_dev *pdev, int state) | 47 | static inline void pci_disable_link_state(struct pci_dev *pdev, int state) |
42 | { | 48 | { |
43 | } | 49 | } |
44 | 50 | static inline void pcie_clear_aspm(void) | |
51 | { | ||
52 | } | ||
45 | static inline void pcie_no_aspm(void) | 53 | static inline void pcie_no_aspm(void) |
46 | { | 54 | { |
47 | } | 55 | } |