]> Pileus Git - ~andy/linux/blobdiff - include/linux/pci.h
Merge branch 'x86/urgent' into x86-mm
[~andy/linux] / include / linux / pci.h
index ff5bccb8713661bbf6247a5c06be78e80570df1d..96f70d7e058dd043716ae216e3918567923f28bb 100644 (file)
@@ -1002,12 +1002,11 @@ extern bool pcie_ports_auto;
 #endif
 
 #ifndef CONFIG_PCIEASPM
-static inline int pcie_aspm_enabled(void)
-{
-       return 0;
-}
+static inline int pcie_aspm_enabled(void) { return 0; }
+static inline bool pcie_aspm_support_enabled(void) { return false; }
 #else
 extern int pcie_aspm_enabled(void);
+extern bool pcie_aspm_support_enabled(void);
 #endif
 
 #ifdef CONFIG_PCIEAER
@@ -1191,6 +1190,11 @@ static inline int pci_set_power_state(struct pci_dev *dev, pci_power_t state)
        return 0;
 }
 
+static inline int pci_wake_from_d3(struct pci_dev *dev, bool enable)
+{
+       return 0;
+}
+
 static inline pci_power_t pci_choose_state(struct pci_dev *dev,
                                           pm_message_t state)
 {