diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2022-10-19 15:41:27 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2022-10-24 14:57:30 -0500 |
commit | 461a65d7d1a4f56b97c9115eda3e8619516f40fb (patch) | |
tree | 87640fe431ef7f1542a1f72f91b7042b9a2a4098 | |
parent | 29f193feeea3e3af1c4650870f08ca896b83e1db (diff) | |
download | linux-stable-461a65d7d1a4f56b97c9115eda3e8619516f40fb.tar.gz linux-stable-461a65d7d1a4f56b97c9115eda3e8619516f40fb.tar.bz2 linux-stable-461a65d7d1a4f56b97c9115eda3e8619516f40fb.zip |
PCI/portdrv: Unexport pcie_port_service_register(), pcie_port_service_unregister()
pcie_port_service_register() and pcie_port_service_unregister() are used
only by the pciehp, aer, dpc, and pme PCIe port service drivers, none of
which can be modules. Unexport pcie_port_service_register() and
pcie_port_service_unregister(). No functional change intended.
Link: https://lore.kernel.org/r/20221019204127.44463-4-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
-rw-r--r-- | drivers/pci/pcie/portdrv.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/pcie/portdrv.c b/drivers/pci/pcie/portdrv.c index ae8da5b2e922..a6c4225505d5 100644 --- a/drivers/pci/pcie/portdrv.c +++ b/drivers/pci/pcie/portdrv.c @@ -584,7 +584,6 @@ int pcie_port_service_register(struct pcie_port_service_driver *new) return driver_register(&new->driver); } -EXPORT_SYMBOL(pcie_port_service_register); /** * pcie_port_service_unregister - unregister PCI Express port service driver @@ -594,7 +593,6 @@ void pcie_port_service_unregister(struct pcie_port_service_driver *drv) { driver_unregister(&drv->driver); } -EXPORT_SYMBOL(pcie_port_service_unregister); /* If this switch is set, PCIe port native services should not be enabled. */ bool pcie_ports_disabled; |