diff options
-rw-r--r-- | include/acpi/acobject.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/acpi/acobject.h b/include/acpi/acobject.h index e9657dac69b7..0ca39265bb0f 100644 --- a/include/acpi/acobject.h +++ b/include/acpi/acobject.h @@ -379,6 +379,13 @@ union acpi_operand_object { struct acpi_object_extra extra; struct acpi_object_data data; struct acpi_object_cache_list cache; + + /* + * Add namespace node to union in order to simplify code that accepts both + * ACPI_OPERAND_OBJECTs and ACPI_NAMESPACE_NODEs. The structures share + * a common descriptor_type field in order to differentiate them. + */ + struct acpi_namespace_node node; }; /****************************************************************************** |