Patchwork [RESEND,v1,1/3] PCI / ACPI: Do not export pci_get_hp_params()

login
register
mail settings
Submitter Alexandru Gagniuc
Date March 7, 2019, 9:38 p.m.
Message ID <20190307213834.5914-2-mr.nuke.me@gmail.com>
Download mbox | patch
Permalink /patch/744119/
State New
Headers show

Comments

Alexandru Gagniuc - March 7, 2019, 9:38 p.m.
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@gmail.com>
---
 drivers/pci/pci-acpi.c | 1 -
 1 file changed, 1 deletion(-)

Patch

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