PCI: Make pci_enable_ptm() private
authorKelsey Skunberg <skunberg.kelsey@gmail.com>
Wed, 24 Jul 2019 23:38:47 +0000 (17:38 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 30 Jul 2019 13:45:55 +0000 (08:45 -0500)
commitac6c26da29c12fa511c877c273ed5c939dc9e96c
treebf3a0b3fb3bb3630a744334a16939fc9e7cdd5e0
parent72bde9ced373ca1e27332fd020d248151319a3d6
PCI: Make pci_enable_ptm() private

This interface:

  int pci_enable_ptm(struct pci_dev *dev, u8 *granularity);

is only used in drivers/pci/ and does not need to be seen by the rest of
the kernel.  Move it to drivers/pci/pci.h so it's private to the PCI
subsystem.

Link: https://lore.kernel.org/r/20190724233848.73327-11-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