aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/pci.h')
-rw-r--r--drivers/pci/pci.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h
index 4c36e80f6d26..5360d73d4941 100644
--- a/drivers/pci/pci.h
+++ b/drivers/pci/pci.h
@@ -52,6 +52,12 @@ void pci_restore_msi_state(struct pci_dev *dev);
52static inline void pci_restore_msi_state(struct pci_dev *dev) {} 52static inline void pci_restore_msi_state(struct pci_dev *dev) {}
53#endif 53#endif
54 54
55#ifdef CONFIG_PCIEAER
56void pci_no_aer(void);
57#else
58static inline void pci_no_aer(void) { }
59#endif
60
55static inline int pci_no_d1d2(struct pci_dev *dev) 61static inline int pci_no_d1d2(struct pci_dev *dev)
56{ 62{
57 unsigned int parent_dstates = 0; 63 unsigned int parent_dstates = 0;