diff options
Diffstat (limited to 'drivers/acpi/executer/exconfig.c')
-rw-r--r-- | drivers/acpi/executer/exconfig.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/executer/exconfig.c b/drivers/acpi/executer/exconfig.c index dbf1e6f33bba..b9543a7f5d21 100644 --- a/drivers/acpi/executer/exconfig.c +++ b/drivers/acpi/executer/exconfig.c | |||
@@ -368,7 +368,8 @@ acpi_ex_load_op(union acpi_operand_object *obj_desc, | |||
368 | } | 368 | } |
369 | 369 | ||
370 | status = | 370 | status = |
371 | acpi_ex_add_table(table_index, acpi_gbl_root_node, &ddb_handle); | 371 | acpi_ex_add_table(table_index, walk_state->scope_info->scope.node, |
372 | &ddb_handle); | ||
372 | if (ACPI_FAILURE(status)) { | 373 | if (ACPI_FAILURE(status)) { |
373 | 374 | ||
374 | /* On error, table_ptr was deallocated above */ | 375 | /* On error, table_ptr was deallocated above */ |