From: Bjorn Helgaas Date: Fri, 24 Jun 2022 21:27:19 +0000 (-0500) Subject: PCI/ASPM: Unexport pcie_aspm_support_enabled() X-Git-Tag: v6.0-rc1~116^2~27^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ba13d4575da5e656a3cbc18583e0da5c5d865417;p=thirdparty%2Fkernel%2Flinux.git PCI/ASPM: Unexport pcie_aspm_support_enabled() pcie_aspm_support_enabled() is used only by the acpi/pci_root.c driver, which cannot be built as a module, so it does not need to be exported. Unexport it. Signed-off-by: Bjorn Helgaas Reviewed-by: Rafael J. Wysocki --- diff --git a/drivers/pci/pcie/aspm.c b/drivers/pci/pcie/aspm.c index 7f76a5875feb4..a8aec190986c0 100644 --- a/drivers/pci/pcie/aspm.c +++ b/drivers/pci/pcie/aspm.c @@ -1347,4 +1347,3 @@ bool pcie_aspm_support_enabled(void) { return aspm_support_enabled; } -EXPORT_SYMBOL(pcie_aspm_support_enabled);