lkml.org 
[lkml]   [2023]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v16 1/3] ACPI: x86: s2idle: Export symbol for fetching constraints for module use
Date
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@amd.com>
---
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
\
 
 \ /
  Last update: 2023-08-29 21:30    [W:0.128 / U:1.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site