diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pci.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 19ee92c53ef7..ec03b90d3510 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -878,6 +878,17 @@ static inline int pcie_aspm_enabled(void) | |||
878 | extern int pcie_aspm_enabled(void); | 878 | extern int pcie_aspm_enabled(void); |
879 | #endif | 879 | #endif |
880 | 880 | ||
881 | #ifndef CONFIG_PCIE_ECRC | ||
882 | static inline void pcie_set_ecrc_checking(struct pci_dev *dev) | ||
883 | { | ||
884 | return; | ||
885 | } | ||
886 | static inline void pcie_ecrc_get_policy(char *str) {}; | ||
887 | #else | ||
888 | extern void pcie_set_ecrc_checking(struct pci_dev *dev); | ||
889 | extern void pcie_ecrc_get_policy(char *str); | ||
890 | #endif | ||
891 | |||
881 | #define pci_enable_msi(pdev) pci_enable_msi_block(pdev, 1) | 892 | #define pci_enable_msi(pdev) pci_enable_msi_block(pdev, 1) |
882 | 893 | ||
883 | #ifdef CONFIG_HT_IRQ | 894 | #ifdef CONFIG_HT_IRQ |