PCI/ACPI: Do not export pci_get_hp_params()
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Fri, 8 Feb 2019 16:24:11 +0000 (10:24 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 23 Apr 2019 21:37:58 +0000 (16:37 -0500)
pci_get_hp_params() is only used within drivers/pci, and there is no reason
to make it available outside of the PCI core, so stop exporting it.

Link: https://lore.kernel.org/lkml/20190208162414.3996-2-mr.nuke.me@gmail.com
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci-acpi.c

index e1949f7efd9c05eeb400f69fa34ee4416cbfee37..b25e5fa9d1c9aaa9aed2194ec7a8b315ce54444f 100644 (file)
@@ -366,7 +366,6 @@ int pci_get_hp_params(struct pci_dev *dev, struct hotplug_params *hpp)
        }
        return -ENODEV;
 }
-EXPORT_SYMBOL_GPL(pci_get_hp_params);
 
 /**
  * pciehp_is_native - Check whether a hotplug port is handled by the OS