From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Date: Tue, 23 Mar 2021 16:01:22 +0000 Subject: [Intel-wired-lan] [PATCH next-queue v3 1/3] Revert "PCI: Make pci_enable_ptm() private" In-Reply-To: <20210322161822.1546454-2-vinicius.gomes@intel.com> References: <20210322161822.1546454-1-vinicius.gomes@intel.com> <20210322161822.1546454-2-vinicius.gomes@intel.com> Message-ID: <20210323160122.GC2438080@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: intel-wired-lan@osuosl.org List-ID: On Mon, Mar 22, 2021 at 09:18:20AM -0700, Vinicius Costa Gomes wrote: > Make pci_enable_ptm() accessible from the drivers. > > Even if PTM still works on the platform I am using without calling > this function, it might be possible that it's not always the case. > > 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 ac6c26da29c12fa511c877c273ed5c939dc9e96c. > > Signed-off-by: Vinicius Costa Gomes > Acked-by: Bjorn Helgaas Without an EXPORT_SYMBOL_GPL this is not going to be very useful for your driver.