Commit 1269b6d7 authored by Sakari Ailus's avatar Sakari Ailus Committed by Rafael J. Wysocki

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: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 841c3516
...@@ -559,7 +559,7 @@ EXPORT_SYMBOL(acpi_evaluate_ost); ...@@ -559,7 +559,7 @@ EXPORT_SYMBOL(acpi_evaluate_ost);
* *
* Caller must free the returned buffer * 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 = { struct acpi_buffer buffer = {
.length = ACPI_ALLOCATE_BUFFER, .length = ACPI_ALLOCATE_BUFFER,
......
...@@ -1170,6 +1170,7 @@ static inline void acpi_ec_set_gpe_wake_mask(u8 action) {} ...@@ -1170,6 +1170,7 @@ static inline void acpi_ec_set_gpe_wake_mask(u8 action) {}
#endif #endif
#ifdef CONFIG_ACPI #ifdef CONFIG_ACPI
char *acpi_handle_path(acpi_handle handle);
__printf(3, 4) __printf(3, 4)
void acpi_handle_printk(const char *level, acpi_handle handle, void acpi_handle_printk(const char *level, acpi_handle handle,
const char *fmt, ...); const char *fmt, ...);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment