PCI/ASPM: Unexport pcie_aspm_support_enabled()
PATCH 1/1 PCI/ASPM: Unexport pcie_aspm_support_enabled()
From: Bjorn Helgaas <[email protected]>
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 <[email protected]>
--- drivers/pci/pcie/aspm.c | 1 - 1 file changed, 1 deletion(-)
drivers/pci/pcie/aspm.c +0 -1
@@ -1347,4 +1347,3 @@ bool pcie_aspm_support_enabled(void) {return aspm_support_enabled; } -EXPORT_SYMBOL (pcie_aspm_support_enabled);
Signature · 1 line
2.25.1
Quoted 8 lines · Bjorn Helgaas
From: Bjorn Helgaas <[email protected]>
pcie_aspm_support_enabled()is used only by theacpi/pci_root.cdriver, which cannot be built as a module, so it does not need to be exported. Unexport it.Signed-off-by Bjorn Helgaas <[email protected]>
Reviewed-by Rafael J. Wysocki <[email protected]>
Quoted 16 lines
--- drivers/pci/pcie/aspm.c | 1 - 1 file changed, 1 deletion(-)drivers/pci/pcie/aspm.c +0
-2@@ -1347,4 +1347,3 @@ bool pcie_aspm_support_enabled(void) {return aspm_support_enabled; } -EXPORT_SYMBOL (pcie_aspm_support_enabled); --2.25.1
Bjorn Helgaas
AppliedQuoted 11 lines · Rafael J. Wysocki
Quoted 8 lines · Bjorn Helgaas
From: Bjorn Helgaas <[email protected]>
pcie_aspm_support_enabled()is used only by theacpi/pci_root.cdriver, which cannot be built as a module, so it does not need to be exported. Unexport it.Signed-off-by Bjorn Helgaas <[email protected]>Reviewed-by Rafael J. Wysocki <[email protected]>
Thanks, applied with your Reviewed-by to pci/aspm for v5.20.
Quoted 16 lines
Quoted 16 lines
--- drivers/pci/pcie/aspm.c | 1 - 1 file changed, 1 deletion(-)drivers/pci/pcie/aspm.c +0
-2@@ -1347,4 +1347,3 @@ bool pcie_aspm_support_enabled(void) {return aspm_support_enabled; } -EXPORT_SYMBOL (pcie_aspm_support_enabled); --2.25.1