PCI: dwc: Make dw_pcie_ptm_ops static
authorManivannan Sadhasivam <mani@kernel.org>
Tue, 1 Jul 2025 12:08:56 +0000 (17:38 +0530)
committerManivannan Sadhasivam <mani@kernel.org>
Mon, 7 Jul 2025 07:53:15 +0000 (13:23 +0530)
commitc1dc61aede55a571d34fe20415b1413a3c86ee24
treee13b7a0192cc427074a23d89c927755b86b59d5f
parent032f05be51ab4a1d67d08a8083ec16dd934d255e
PCI: dwc: Make dw_pcie_ptm_ops static

dw_pcie_ptm_ops is not used outside of this file, so make it static. This
also fixes the sparse warning:

  drivers/pci/controller/dwc/pcie-designware-debugfs.c:868:27: warning: symbol 'dw_pcie_ptm_ops' was not declared. Should it be static?

Fixes: 852a1fdd34a8 ("PCI: dwc: Add debugfs support for PTM context")
Reported-by: Bjorn Helgaas <helgaas@kernel.org>
Closes: https://lore.kernel.org/linux-pci/20250617231210.GA1172093@bhelgaas
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://patch.msgid.link/20250701120856.15839-1-mani@kernel.org
drivers/pci/controller/dwc/pcie-designware-debugfs.c