diff options
Diffstat (limited to 'drivers/pci/pci.h')
-rw-r--r-- | drivers/pci/pci.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index b3a7d5b0f936..6fda33de84e8 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h | |||
@@ -51,6 +51,12 @@ void pci_restore_msi_state(struct pci_dev *dev); | |||
51 | static inline void pci_restore_msi_state(struct pci_dev *dev) {} | 51 | static inline void pci_restore_msi_state(struct pci_dev *dev) {} |
52 | #endif | 52 | #endif |
53 | 53 | ||
54 | #ifdef CONFIG_PCIEAER | ||
55 | void pci_no_aer(void); | ||
56 | #else | ||
57 | static inline void pci_no_aer(void) { } | ||
58 | #endif | ||
59 | |||
54 | static inline int pci_no_d1d2(struct pci_dev *dev) | 60 | static inline int pci_no_d1d2(struct pci_dev *dev) |
55 | { | 61 | { |
56 | unsigned int parent_dstates = 0; | 62 | unsigned int parent_dstates = 0; |