diff options
author | Kelsey Skunberg <skunberg.kelsey@gmail.com> | 2019-07-25 02:38:46 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2019-07-30 16:45:54 +0300 |
commit | 72bde9ced373ca1e27332fd020d248151319a3d6 (patch) | |
tree | 6e03175122caaf4b8b96fd46bfb0f7c0548bbba6 /include/linux/pci.h | |
parent | b92b512a435da01b52de07e3dcc2f07a4ad404de (diff) | |
download | linux-72bde9ced373ca1e27332fd020d248151319a3d6.tar.xz |
PCI: Make pcie_set_ecrc_checking(), pcie_ecrc_get_policy() private
These interfaces:
void pcie_set_ecrc_checking(struct pci_dev *dev);
void pcie_ecrc_get_policy(char *str);
are only used in drivers/pci/ and do not need to be seen by the rest of the
kernel. Move them to drivers/pci/pci.h so they're private to the PCI
subsystem.
Link: https://lore.kernel.org/r/20190724233848.73327-10-skunberg.kelsey@gmail.com
Signed-off-by: Kelsey Skunberg <skunberg.kelsey@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 9b8d0c2a1c9a..65502c564661 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -1559,14 +1559,6 @@ bool pci_aer_available(void); static inline bool pci_aer_available(void) { return false; } #endif -#ifdef CONFIG_PCIE_ECRC -void pcie_set_ecrc_checking(struct pci_dev *dev); -void pcie_ecrc_get_policy(char *str); -#else -static inline void pcie_set_ecrc_checking(struct pci_dev *dev) { } -static inline void pcie_ecrc_get_policy(char *str) { } -#endif - bool pci_ats_disabled(void); #ifdef CONFIG_PCIE_PTM |