[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJZ5v0gYhSkFWF49+orQsiqO0Kbmc_A+1L+QiZWcO6Q8sGWFKQ@mail.gmail.com>
Date: Tue, 12 Jul 2022 20:10:03 +0200
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Bjorn Helgaas <helgaas@...nel.org>
Cc: Linux PCI <linux-pci@...r.kernel.org>,
Kai-Heng Feng <kai.heng.feng@...onical.com>,
ACPI Devel Maling List <linux-acpi@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Bjorn Helgaas <bhelgaas@...gle.com>
Subject: Re: [PATCH] PCI/ASPM: Unexport pcie_aspm_support_enabled()
On Tue, Jul 12, 2022 at 1:14 AM Bjorn Helgaas <helgaas@...nel.org> wrote:
>
> From: Bjorn Helgaas <bhelgaas@...gle.com>
>
> 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 <bhelgaas@...gle.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
> ---
> drivers/pci/pcie/aspm.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/pci/pcie/aspm.c b/drivers/pci/pcie/aspm.c
> index 7f76a5875feb..a8aec190986c 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);
> --
> 2.25.1
>
Powered by blists - more mailing lists