diff options
Diffstat (limited to 'drivers/acpi/acpica/rsutils.c')
-rw-r--r-- | drivers/acpi/acpica/rsutils.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/rsutils.c b/drivers/acpi/acpica/rsutils.c index 5adae5a036aa..41b8103911fc 100644 --- a/drivers/acpi/acpica/rsutils.c +++ b/drivers/acpi/acpica/rsutils.c | |||
@@ -677,7 +677,9 @@ acpi_rs_get_method_data(acpi_handle handle, | |||
677 | /* Execute the method, no parameters */ | 677 | /* Execute the method, no parameters */ |
678 | 678 | ||
679 | status = | 679 | status = |
680 | acpi_ut_evaluate_object(handle, path, ACPI_BTYPE_BUFFER, &obj_desc); | 680 | acpi_ut_evaluate_object(ACPI_CAST_PTR |
681 | (struct acpi_namespace_node, handle), path, | ||
682 | ACPI_BTYPE_BUFFER, &obj_desc); | ||
681 | if (ACPI_FAILURE(status)) { | 683 | if (ACPI_FAILURE(status)) { |
682 | return_ACPI_STATUS(status); | 684 | return_ACPI_STATUS(status); |
683 | } | 685 | } |