summaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2008-07-04 10:53:58 +0800
committerLen Brown <len.brown@intel.com>2008-10-22 23:14:38 -0400
commit0a1fbf2db0d275f0f8160bb9c3e51c4df5bafdc2 (patch)
tree030acc9af2f3e0ee2a7285f85ef7dc8f60b8174b /include/acpi
parentc9bdd8057d706a972d804d2d8614a283641a5660 (diff)
downloadop-kernel-dev-0a1fbf2db0d275f0f8160bb9c3e51c4df5bafdc2.zip
op-kernel-dev-0a1fbf2db0d275f0f8160bb9c3e51c4df5bafdc2.tar.gz
ACPICA: Return method arg count from acpi_get_object_info
Also update the debugger so that the correct number of arguments is passed to the method. Prevents a warning message from the debugger. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r--include/acpi/actypes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h
index 73d6b1c..6bd08e8 100644
--- a/include/acpi/actypes.h
+++ b/include/acpi/actypes.h
@@ -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 */
OpenPOWER on IntegriCloud