[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJZ5v0ggnjtnyZtNYfozTPpHN7qondg8bAYZ7jE=+Q4LTLHE0w@mail.gmail.com>
Date: Thu, 31 Aug 2023 20:58:56 +0200
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Mario Limonciello <mario.limonciello@....com>
Cc: hdegoede@...hat.com, bhelgaas@...gle.com, rafael@...nel.org,
Shyam-sundar.S-k@....com, linux-kernel@...r.kernel.org,
linux-acpi@...r.kernel.org, platform-driver-x86@...r.kernel.org
Subject: Re: [PATCH v16 1/3] ACPI: x86: s2idle: Export symbol for fetching
constraints for module use
On Tue, Aug 29, 2023 at 9:28 PM Mario Limonciello
<mario.limonciello@....com> wrote:
>
> The amd-pmc driver will be fetching constraints to make decisions at
> suspend time. This driver can be compiled as a module, so export the
> symbol for when it is a module.
>
> Signed-off-by: Mario Limonciello <mario.limonciello@....com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
and please route this along with the rest of the series.
> ---
> v15->v16:
> * new patch
> ---
> drivers/acpi/x86/s2idle.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/acpi/x86/s2idle.c b/drivers/acpi/x86/s2idle.c
> index 08f7c6708206..de9c313c21fa 100644
> --- a/drivers/acpi/x86/s2idle.c
> +++ b/drivers/acpi/x86/s2idle.c
> @@ -322,6 +322,7 @@ int acpi_get_lps0_constraint(struct acpi_device *adev)
>
> return ACPI_STATE_UNKNOWN;
> }
> +EXPORT_SYMBOL_GPL(acpi_get_lps0_constraint);
>
> static void lpi_check_constraints(void)
> {
> --
> 2.34.1
>
Powered by blists - more mailing lists