diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2020-06-09 15:27:35 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2023-08-25 08:14:58 -0500 |
commit | ecfea5dfca147a14c47539014ca24a80a469e08f (patch) | |
tree | 94d95a8454ec0da9ecddac5b2936c584a6133dbd /drivers/pci/pci-driver.c | |
parent | e8c81fc72232c4a82257745bd5ebf5b79929a613 (diff) | |
download | linux-stable-ecfea5dfca147a14c47539014ca24a80a469e08f.tar.gz linux-stable-ecfea5dfca147a14c47539014ca24a80a469e08f.tar.bz2 linux-stable-ecfea5dfca147a14c47539014ca24a80a469e08f.zip |
PCI: Unexport pcie_port_bus_type
pcie_port_bus_type is used only in pci-driver.c and pcie/portdrv_core.c and
pcie/portdrv_pci.c. None of these can be built as modules, so
pcie_port_bus_type doesn't need to be exported. Unexport it.
Link: https://lore.kernel.org/r/20230824193712.542167-3-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'drivers/pci/pci-driver.c')
-rw-r--r-- | drivers/pci/pci-driver.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c index ae9baf801681..1f9845377eff 100644 --- a/drivers/pci/pci-driver.c +++ b/drivers/pci/pci-driver.c @@ -1705,7 +1705,6 @@ struct bus_type pcie_port_bus_type = { .name = "pci_express", .match = pcie_port_bus_match, }; -EXPORT_SYMBOL_GPL(pcie_port_bus_type); #endif static int __init pci_driver_init(void) |