Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117298
b: refs/heads/master
c: 0a1fbf2
h: refs/heads/master
v: v3
  • Loading branch information
Bob Moore authored and Len Brown committed Oct 23, 2008
1 parent a81dab1 commit 65b6659
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c9bdd8057d706a972d804d2d8614a283641a5660
refs/heads/master: 0a1fbf2db0d275f0f8160bb9c3e51c4df5bafdc2
4 changes: 4 additions & 0 deletions trunk/drivers/acpi/namespace/nsxfname.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,10 @@ acpi_get_object_info(acpi_handle handle, struct acpi_buffer * buffer)
info->name = node->name.integer;
info->valid = 0;

if (node->type == ACPI_TYPE_METHOD) {
info->param_count = node->object->method.param_count;
}

status = acpi_ut_release_mutex(ACPI_MTX_NAMESPACE);
if (ACPI_FAILURE(status)) {
goto cleanup;
Expand Down
1 change: 1 addition & 0 deletions trunk/include/acpi/actypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,7 @@ struct acpi_obj_info_header {
struct acpi_device_info {
ACPI_COMMON_OBJ_INFO;

u32 param_count; /* If a method, required parameter count */
u32 valid; /* Indicates which fields below are valid */
u32 current_status; /* _STA value */
acpi_integer address; /* _ADR value if any */
Expand Down

0 comments on commit 65b6659

Please sign in to comment.