diff options
Diffstat (limited to 'drivers/acpi/utilities/utdelete.c')
| -rw-r--r-- | drivers/acpi/utilities/utdelete.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/drivers/acpi/utilities/utdelete.c b/drivers/acpi/utilities/utdelete.c index 38ebe1c54330..9d3f1149ba21 100644 --- a/drivers/acpi/utilities/utdelete.c +++ b/drivers/acpi/utilities/utdelete.c | |||
| @@ -447,11 +447,16 @@ acpi_ut_update_object_reference(union acpi_operand_object *object, u16 action) | |||
| 447 | */ | 447 | */ |
| 448 | switch (ACPI_GET_OBJECT_TYPE(object)) { | 448 | switch (ACPI_GET_OBJECT_TYPE(object)) { |
| 449 | case ACPI_TYPE_DEVICE: | 449 | case ACPI_TYPE_DEVICE: |
| 450 | case ACPI_TYPE_PROCESSOR: | ||
| 451 | case ACPI_TYPE_POWER: | ||
| 452 | case ACPI_TYPE_THERMAL: | ||
| 450 | 453 | ||
| 451 | acpi_ut_update_ref_count(object->device.system_notify, | 454 | /* Update the notify objects for these types (if present) */ |
| 452 | action); | 455 | |
| 453 | acpi_ut_update_ref_count(object->device.device_notify, | 456 | acpi_ut_update_ref_count(object->common_notify. |
| 454 | action); | 457 | system_notify, action); |
| 458 | acpi_ut_update_ref_count(object->common_notify. | ||
| 459 | device_notify, action); | ||
| 455 | break; | 460 | break; |
| 456 | 461 | ||
| 457 | case ACPI_TYPE_PACKAGE: | 462 | case ACPI_TYPE_PACKAGE: |
