PCI: Make pcie_set_ecrc_checking(), pcie_ecrc_get_policy() private
authorKelsey Skunberg <skunberg.kelsey@gmail.com>
Wed, 24 Jul 2019 23:38:46 +0000 (17:38 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 30 Jul 2019 13:45:54 +0000 (08:45 -0500)
commit72bde9ced373ca1e27332fd020d248151319a3d6
tree6e03175122caaf4b8b96fd46bfb0f7c0548bbba6
parentb92b512a435da01b52de07e3dcc2f07a4ad404de
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>
drivers/pci/pci.h
include/linux/pci.h