]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "PCI: Make pci_enable_ptm() private"
authorVinicius Costa Gomes <vinicius.gomes@intel.com>
Tue, 27 Jul 2021 03:36:54 +0000 (20:36 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 24 Aug 2021 17:49:53 +0000 (10:49 -0700)
commit5b05c32326c741645c232a2d75b13d8e24ecc5c9
tree72210e402a238107b5671a5e8025609b2bd26759
parent1f9fefb007393ef4cc914de0be9d7a1e641cc0f5
Revert "PCI: Make pci_enable_ptm() private"

Make pci_enable_ptm() accessible from the drivers.

Exposing this to the driver enables the driver to use the
'ptm_enabled' field of 'pci_dev' to check if PTM is enabled or not.

This reverts commit 64444f19d7a4 ("PCI: Make pci_enable_ptm() private").

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/pci/pci.h
include/linux/pci.h