From: Bjorn Helgaas <bhelgaas@xxxxxxxxxx> acpi_pci_find_root() is called only from pci_root.c and drivers/pci/hotplug/acpi_pcihp.c, neither of which can be modules. Unexport it. Signed-off-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx> --- drivers/acpi/pci_root.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/acpi/pci_root.c b/drivers/acpi/pci_root.c index b6da9745efcd..933890f97720 100644 --- a/drivers/acpi/pci_root.c +++ b/drivers/acpi/pci_root.c @@ -246,7 +246,6 @@ struct acpi_pci_root *acpi_pci_find_root(acpi_handle handle) return root; } -EXPORT_SYMBOL_GPL(acpi_pci_find_root); struct acpi_handle_node { struct list_head node; -- 2.25.1