diff options
author | Bob Moore <robert.moore@intel.com> | 2008-11-12 22:19:24 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-12-29 22:38:39 -0500 |
commit | eeb4437e63c39ce19cf9b2de36a1dddbf12910c4 (patch) | |
tree | f8a03de090080a3a781a927ca13253774aebdfe7 /include/acpi/acnamesp.h | |
parent | a647b5c34047560d7efe7e53e756c6692ce67dc7 (diff) |
ACPICA: Consolidate method arg count validation code
Merge the code that validates control method argument counts into
the predefined validation module. Eliminates possible multiple
warnings for incorrect counts.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/acnamesp.h')
-rw-r--r-- | include/acpi/acnamesp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/acpi/acnamesp.h b/include/acpi/acnamesp.h index db1e29052077..46cb5b46d280 100644 --- a/include/acpi/acnamesp.h +++ b/include/acpi/acnamesp.h | |||
@@ -182,6 +182,8 @@ acpi_status acpi_ns_evaluate(struct acpi_evaluate_info *info); | |||
182 | */ | 182 | */ |
183 | acpi_status | 183 | acpi_status |
184 | acpi_ns_check_predefined_names(struct acpi_namespace_node *node, | 184 | acpi_ns_check_predefined_names(struct acpi_namespace_node *node, |
185 | u32 user_param_count, | ||
186 | acpi_status return_status, | ||
185 | union acpi_operand_object **return_object); | 187 | union acpi_operand_object **return_object); |
186 | 188 | ||
187 | const union acpi_predefined_info *acpi_ns_check_for_predefined_name(struct | 189 | const union acpi_predefined_info *acpi_ns_check_for_predefined_name(struct |
@@ -191,6 +193,7 @@ const union acpi_predefined_info *acpi_ns_check_for_predefined_name(struct | |||
191 | void | 193 | void |
192 | acpi_ns_check_parameter_count(char *pathname, | 194 | acpi_ns_check_parameter_count(char *pathname, |
193 | struct acpi_namespace_node *node, | 195 | struct acpi_namespace_node *node, |
196 | u32 user_param_count, | ||
194 | const union acpi_predefined_info *info); | 197 | const union acpi_predefined_info *info); |
195 | 198 | ||
196 | /* | 199 | /* |