Re: [PATCH v1 1/3] PCI / ACPI: Do not export pci_get_hp_params()

From: Bjorn Helgaas
Date: Mon Apr 22 2019 - 16:58:57 EST


On Fri, Feb 08, 2019 at 10:24:11AM -0600, Alexandru Gagniuc wrote:
> This is only used within drivers/pci, and there is no reason to make
> it available outside of the PCI core.
>
> Signed-off-by: Alexandru Gagniuc <mr.nuke.me@xxxxxxxxx>

Applied the whole series to pci/hotplug for v5.2, thanks!

I dropped the "list" member from struct hpx_type3 because it didn't
seem to be used.

> ---
> drivers/pci/pci-acpi.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c
> index e1949f7efd9c..b25e5fa9d1c9 100644
> --- a/drivers/pci/pci-acpi.c
> +++ b/drivers/pci/pci-acpi.c
> @@ -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
> --
> 2.19.2
>