diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/pci-aspm.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/pci-aspm.h b/include/linux/pci-aspm.h index df28af5cef21..67064145d76e 100644 --- a/include/linux/pci-aspm.h +++ b/include/linux/pci-aspm.h | |||
| @@ -24,11 +24,12 @@ | |||
| 24 | #define PCIE_LINK_STATE_CLKPM 4 | 24 | #define PCIE_LINK_STATE_CLKPM 4 |
| 25 | 25 | ||
| 26 | #ifdef CONFIG_PCIEASPM | 26 | #ifdef CONFIG_PCIEASPM |
| 27 | void pci_disable_link_state(struct pci_dev *pdev, int state); | 27 | int pci_disable_link_state(struct pci_dev *pdev, int state); |
| 28 | void pci_disable_link_state_locked(struct pci_dev *pdev, int state); | 28 | int pci_disable_link_state_locked(struct pci_dev *pdev, int state); |
| 29 | void pcie_no_aspm(void); | 29 | void pcie_no_aspm(void); |
| 30 | #else | 30 | #else |
| 31 | static inline void pci_disable_link_state(struct pci_dev *pdev, int state) { } | 31 | static inline int pci_disable_link_state(struct pci_dev *pdev, int state) |
| 32 | { return 0; } | ||
| 32 | static inline void pcie_no_aspm(void) { } | 33 | static inline void pcie_no_aspm(void) { } |
| 33 | #endif | 34 | #endif |
| 34 | 35 | ||
