diff options
Diffstat (limited to 'drivers/acpi/utilities/utdelete.c')
-rw-r--r-- | drivers/acpi/utilities/utdelete.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/acpi/utilities/utdelete.c b/drivers/acpi/utilities/utdelete.c index dcb34f805714..6a763cd85f8c 100644 --- a/drivers/acpi/utilities/utdelete.c +++ b/drivers/acpi/utilities/utdelete.c | |||
@@ -524,10 +524,12 @@ acpi_ut_update_object_reference(union acpi_operand_object *object, u16 action) | |||
524 | 524 | ||
525 | case ACPI_TYPE_LOCAL_REFERENCE: | 525 | case ACPI_TYPE_LOCAL_REFERENCE: |
526 | /* | 526 | /* |
527 | * The target of an Index (a package, string, or buffer) must track | 527 | * The target of an Index (a package, string, or buffer) or a named |
528 | * changes to the ref count of the index. | 528 | * reference must track changes to the ref count of the index or |
529 | * target object. | ||
529 | */ | 530 | */ |
530 | if (object->reference.opcode == AML_INDEX_OP) { | 531 | if ((object->reference.opcode == AML_INDEX_OP) || |
532 | (object->reference.opcode == AML_INT_NAMEPATH_OP)) { | ||
531 | next_object = object->reference.object; | 533 | next_object = object->reference.object; |
532 | } | 534 | } |
533 | break; | 535 | break; |