diff options
| -rw-r--r-- | drivers/acpi/acpica/nspredef.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/nspredef.c b/drivers/acpi/acpica/nspredef.c index 23ce09686418..fe6626035495 100644 --- a/drivers/acpi/acpica/nspredef.c +++ b/drivers/acpi/acpica/nspredef.c | |||
| @@ -638,7 +638,7 @@ acpi_ns_check_package(struct acpi_predefined_data *data, | |||
| 638 | /* Create the new outer package and populate it */ | 638 | /* Create the new outer package and populate it */ |
| 639 | 639 | ||
| 640 | status = | 640 | status = |
| 641 | acpi_ns_wrap_with_package(data, *elements, | 641 | acpi_ns_wrap_with_package(data, return_object, |
| 642 | return_object_ptr); | 642 | return_object_ptr); |
| 643 | if (ACPI_FAILURE(status)) { | 643 | if (ACPI_FAILURE(status)) { |
| 644 | return (status); | 644 | return (status); |
