@@ -290,7 +290,7 @@ static acpi_status acpi_run_oshp(acpi_handle handle)
* @dev - the pci_dev for which we want parameters
* @hpp - allocated by the caller
*/
-int acpi_get_hp_params(struct pci_dev *dev, struct hotplug_params *hpp)
+static int acpi_get_hp_params(struct pci_dev *dev, struct hotplug_params *hpp)
{
acpi_status status;
acpi_handle handle, phandle;
@@ -325,7 +325,6 @@ int acpi_get_hp_params(struct pci_dev *dev, struct hotplug_params *hpp)
}
return -ENODEV;
}
-EXPORT_SYMBOL_GPL(acpi_get_hp_params);
static struct hpp_type0 pci_default_type0 = {
.revision = 1,
@@ -226,7 +226,6 @@ struct hotplug_params {
#ifdef CONFIG_ACPI
#include <acpi/acpi.h>
#include <acpi/acpi_bus.h>
-int acpi_get_hp_params(struct pci_dev *dev, struct hotplug_params *hpp);
int acpi_get_hp_hw_control_from_firmware(struct pci_dev *dev, u32 flags);
int acpi_pci_check_ejectable(struct pci_bus *pbus, acpi_handle handle);
int acpi_pci_detect_ejectable(struct pci_bus *pbus);
acpi_get_hp_params() is used only in acpi_pcihp.c, so no need to export it. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> --- drivers/pci/hotplug/acpi_pcihp.c | 3 +-- include/linux/pci_hotplug.h | 1 - 2 files changed, 1 insertions(+), 3 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html