From: Mario Limonciello <mario.limonciello@amd.com>
To: Bjorn Helgaas <bhelgaas@google.com>
Cc: "Rafael J . Wysocki" <rjw@rjwysocki.net>,
"Hans de Goede" <hdegoede@redhat.com>,
"Shyam Sundar S K" <Shyam-sundar.S-k@amd.com>,
"open list:PCI SUBSYSTEM" <linux-pci@vger.kernel.org>,
"open list:X86 PLATFORM DRIVERS"
<platform-driver-x86@vger.kernel.org>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
"Lukas Wunner" <lukas@wunner.de>,
"Kai-Heng Feng" <kai.heng.feng@canonical.com>,
linux-acpi@vger.kernel.org, linux-pm@vger.kernel.org,
"Mario Limonciello" <mario.limonciello@amd.com>,
"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
Subject: [PATCH v2 3/4] ACPI: x86: s2idle: Export symbol for fetching constraints for module use
Date: Sat, 2 Dec 2023 22:10:45 -0600 [thread overview]
Message-ID: <20231203041046.38655-4-mario.limonciello@amd.com> (raw)
In-Reply-To: <20231203041046.38655-1-mario.limonciello@amd.com>
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.
Acked-by: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
---
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 7d64e655f1b8..427d5a8fb694 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
next prev parent reply other threads:[~2023-12-04 6:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-03 4:10 [PATCH v2 0/4] Add support for drivers to decide bridge D3 policy Mario Limonciello
2023-12-03 4:10 ` [PATCH v2 1/4] PCI: Make d3cold_allowed sysfs attribute read only Mario Limonciello
2023-12-03 4:10 ` [PATCH v2 2/4] PCI: Refresh root ports in pci_bridge_d3_update() Mario Limonciello
2023-12-12 19:25 ` Rafael J. Wysocki
2023-12-12 19:41 ` Mario Limonciello
2023-12-12 19:53 ` Rafael J. Wysocki
2023-12-03 4:10 ` Mario Limonciello [this message]
2023-12-03 4:10 ` [PATCH v2 4/4] platform/x86/amd: pmc: Add support for using constraints to decide D3 policy Mario Limonciello
2023-12-04 14:08 ` [PATCH v2 0/4] Add support for drivers to decide bridge " Hans de Goede
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231203041046.38655-4-mario.limonciello@amd.com \
--to=mario.limonciello@amd.com \
--cc=Shyam-sundar.S-k@amd.com \
--cc=bhelgaas@google.com \
--cc=hdegoede@redhat.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=kai.heng.feng@canonical.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=lukas@wunner.de \
--cc=platform-driver-x86@vger.kernel.org \
--cc=rafael.j.wysocki@intel.com \
--cc=rjw@rjwysocki.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).