mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
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>
This commit is contained in:
parent
841c351693
commit
1269b6d722
@ -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,
|
||||
|
@ -1170,6 +1170,7 @@ static inline void acpi_ec_set_gpe_wake_mask(u8 action) {}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ACPI
|
||||
char *acpi_handle_path(acpi_handle handle);
|
||||
__printf(3, 4)
|
||||
void acpi_handle_printk(const char *level, acpi_handle handle,
|
||||
const char *fmt, ...);
|
||||
|
Loading…
Reference in New Issue
Block a user