diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2024-02-13 15:46:05 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-02-15 21:06:06 +0100 |
commit | 1269b6d7222f761b6f5fb85b19f7ab76a5bbf803 (patch) | |
tree | 24cbdead93ebd74bc75d5b2b199f3302f0565aca /drivers/acpi/utils.c | |
parent | 841c35169323cd833294798e58b9bf63fa4fa1de (diff) | |
download | linux-stable-1269b6d7222f761b6f5fb85b19f7ab76a5bbf803.tar.gz linux-stable-1269b6d7222f761b6f5fb85b19f7ab76a5bbf803.tar.bz2 linux-stable-1269b6d7222f761b6f5fb85b19f7ab76a5bbf803.zip |
ACPI: utils: Make acpi_handle_path() not static
acpi_handle_path() will soon be required for node name comparison
elsewhere in ACPI framework. Remove the static keyword and add the
prototype to include/linux/acpi.h.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/utils.c')
-rw-r--r-- | drivers/acpi/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/utils.c b/drivers/acpi/utils.c index abac5cc25477..202234ba54bd 100644 --- a/drivers/acpi/utils.c +++ b/drivers/acpi/utils.c @@ -559,7 +559,7 @@ EXPORT_SYMBOL(acpi_evaluate_ost); * * Caller must free the returned buffer */ -static char *acpi_handle_path(acpi_handle handle) +char *acpi_handle_path(acpi_handle handle) { struct acpi_buffer buffer = { .length = ACPI_ALLOCATE_BUFFER, |