]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Jun 2022 12:13:20 +0000 (14:13 +0200)
commitf0a7adff635af904cb96aef95b6468cf18d01045
tree50e6cb01e0219348650cec4a5903da78230a3893
parente1513a714de67dd7d2fcd6cfe2ebd59961fe80b1
Revert "PCI: Make pci_enable_ptm() private"

commit 1d71eb53e45187f58089d32b51e27784c791d90e upstream.

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 ac6c26da29c1 ("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>
Signed-off-by: Meng Tang <tangmeng@uniontech.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/pci.h
include/linux/pci.h