summaryrefslogtreecommitdiff
path: root/drivers/acpi/parser
diff options
context:
space:
mode:
authorDave Jones <davej@tetrachloride.(none)>2003-01-10 01:28:09 -0100
committerDave Jones <davej@tetrachloride.(none)>2003-01-10 01:28:09 -0100
commit4823db34b8141dfd76bd2e739f018abd0481dd20 (patch)
tree71c385aaeed3694b8db87d9c05d846b41dc7a118 /drivers/acpi/parser
parent9eaa2bf59e1bfae8478a8ff9da4f4214605d9527 (diff)
parent60e7fd5ede56305f4f05d24c4ae2b5491767efe6 (diff)
Merge tetrachloride.(none):/mnt/stuff/kernel/2.5/bk-linus
into tetrachloride.(none):/mnt/stuff/kernel/2.5/agpgart
Diffstat (limited to 'drivers/acpi/parser')
-rw-r--r--drivers/acpi/parser/psargs.c76
-rw-r--r--drivers/acpi/parser/psopcode.c12
-rw-r--r--drivers/acpi/parser/psparse.c62
-rw-r--r--drivers/acpi/parser/psscope.c38
-rw-r--r--drivers/acpi/parser/pstree.c38
-rw-r--r--drivers/acpi/parser/psutils.c44
-rw-r--r--drivers/acpi/parser/pswalk.c28
-rw-r--r--drivers/acpi/parser/psxface.c18
8 files changed, 158 insertions, 158 deletions
diff --git a/drivers/acpi/parser/psargs.c b/drivers/acpi/parser/psargs.c
index 61f8b9de9ffc..c70500e35d9e 100644
--- a/drivers/acpi/parser/psargs.c
+++ b/drivers/acpi/parser/psargs.c
@@ -5,7 +5,7 @@
*****************************************************************************/
/*
- * Copyright (C) 2000 - 2002, R. Byron Moore
+ * Copyright (C) 2000 - 2003, R. Byron Moore
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -47,10 +47,10 @@
u32
acpi_ps_get_next_package_length (
- acpi_parse_state *parser_state)
+ struct acpi_parse_state *parser_state)
{
- u32 encoded_length;
- u32 length = 0;
+ u32 encoded_length;
+ u32 length = 0;
ACPI_FUNCTION_TRACE ("ps_get_next_package_length");
@@ -118,10 +118,10 @@ acpi_ps_get_next_package_length (
u8 *
acpi_ps_get_next_package_end (
- acpi_parse_state *parser_state)
+ struct acpi_parse_state *parser_state)
{
- u8 *start = parser_state->aml;
- acpi_native_uint length;
+ u8 *start = parser_state->aml;
+ acpi_native_uint length;
ACPI_FUNCTION_TRACE ("ps_get_next_package_end");
@@ -152,10 +152,10 @@ acpi_ps_get_next_package_end (
char *
acpi_ps_get_next_namestring (
- acpi_parse_state *parser_state)
+ struct acpi_parse_state *parser_state)
{
- u8 *start = parser_state->aml;
- u8 *end = parser_state->aml;
+ u8 *start = parser_state->aml;
+ u8 *end = parser_state->aml;
ACPI_FUNCTION_TRACE ("ps_get_next_namestring");
@@ -232,17 +232,17 @@ acpi_ps_get_next_namestring (
acpi_status
acpi_ps_get_next_namepath (
- acpi_walk_state *walk_state,
- acpi_parse_state *parser_state,
- acpi_parse_object *arg,
- u8 method_call)
+ struct acpi_walk_state *walk_state,
+ struct acpi_parse_state *parser_state,
+ union acpi_parse_object *arg,
+ u8 method_call)
{
- char *path;
- acpi_parse_object *name_op;
- acpi_status status = AE_OK;
- acpi_operand_object *method_desc;
- acpi_namespace_node *node;
- acpi_generic_state scope_info;
+ char *path;
+ union acpi_parse_object *name_op;
+ acpi_status status = AE_OK;
+ union acpi_operand_object *method_desc;
+ struct acpi_namespace_node *node;
+ union acpi_generic_state scope_info;
ACPI_FUNCTION_TRACE ("ps_get_next_namepath");
@@ -370,9 +370,9 @@ acpi_ps_get_next_namepath (
void
acpi_ps_get_next_simple_arg (
- acpi_parse_state *parser_state,
- u32 arg_type,
- acpi_parse_object *arg)
+ struct acpi_parse_state *parser_state,
+ u32 arg_type,
+ union acpi_parse_object *arg)
{
ACPI_FUNCTION_TRACE_U32 ("ps_get_next_simple_arg", arg_type);
@@ -462,15 +462,15 @@ acpi_ps_get_next_simple_arg (
*
******************************************************************************/
-acpi_parse_object *
+union acpi_parse_object *
acpi_ps_get_next_field (
- acpi_parse_state *parser_state)
+ struct acpi_parse_state *parser_state)
{
- u32 aml_offset = ACPI_PTR_DIFF (parser_state->aml,
+ u32 aml_offset = ACPI_PTR_DIFF (parser_state->aml,
parser_state->aml_start);
- acpi_parse_object *field;
- u16 opcode;
- u32 name;
+ union acpi_parse_object *field;
+ u16 opcode;
+ u32 name;
ACPI_FUNCTION_TRACE ("ps_get_next_field");
@@ -572,16 +572,16 @@ acpi_ps_get_next_field (
acpi_status
acpi_ps_get_next_arg (
- acpi_walk_state *walk_state,
- acpi_parse_state *parser_state,
- u32 arg_type,
- acpi_parse_object **return_arg)
+ struct acpi_walk_state *walk_state,
+ struct acpi_parse_state *parser_state,
+ u32 arg_type,
+ union acpi_parse_object **return_arg)
{
- acpi_parse_object *arg = NULL;
- acpi_parse_object *prev = NULL;
- acpi_parse_object *field;
- u32 subop;
- acpi_status status = AE_OK;
+ union acpi_parse_object *arg = NULL;
+ union acpi_parse_object *prev = NULL;
+ union acpi_parse_object *field;
+ u32 subop;
+ acpi_status status = AE_OK;
ACPI_FUNCTION_TRACE_PTR ("ps_get_next_arg", parser_state);
diff --git a/drivers/acpi/parser/psopcode.c b/drivers/acpi/parser/psopcode.c
index ce06d322d3a7..98d292f001b0 100644
--- a/drivers/acpi/parser/psopcode.c
+++ b/drivers/acpi/parser/psopcode.c
@@ -5,7 +5,7 @@
*****************************************************************************/
/*
- * Copyright (C) 2000 - 2002, R. Byron Moore
+ * Copyright (C) 2000 - 2003, R. Byron Moore
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -447,7 +447,7 @@
*/
-const acpi_opcode_info acpi_gbl_aml_op_info[AML_NUM_OPCODES] =
+const struct acpi_opcode_info acpi_gbl_aml_op_info[AML_NUM_OPCODES] =
{
/*! [Begin] no source code translation */
/* Index Name Parser Args Interpreter Args ObjectType Class Type Flags */
@@ -675,9 +675,9 @@ static const u8 acpi_gbl_long_op_index[NUM_EXTENDED_OPCODE] =
*
******************************************************************************/
-const acpi_opcode_info *
+const struct acpi_opcode_info *
acpi_ps_get_opcode_info (
- u16 opcode)
+ u16 opcode)
{
ACPI_FUNCTION_NAME ("ps_get_opcode_info");
@@ -731,11 +731,11 @@ acpi_ps_get_opcode_info (
char *
acpi_ps_get_opcode_name (
- u16 opcode)
+ u16 opcode)
{
#if defined(ACPI_DISASSEMBLER) || defined (ACPI_DEBUG_OUTPUT)
- const acpi_opcode_info *op;
+ const struct acpi_opcode_info *op;
op = acpi_ps_get_opcode_info (opcode);
diff --git a/drivers/acpi/parser/psparse.c b/drivers/acpi/parser/psparse.c
index 45329040f40d..fc1a1c95ab9f 100644
--- a/drivers/acpi/parser/psparse.c
+++ b/drivers/acpi/parser/psparse.c
@@ -5,7 +5,7 @@
*****************************************************************************/
/*
- * Copyright (C) 2000 - 2002, R. Byron Moore
+ * Copyright (C) 2000 - 2003, R. Byron Moore
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -43,7 +43,7 @@
ACPI_MODULE_NAME ("psparse")
-static u32 acpi_gbl_depth = 0;
+static u32 acpi_gbl_depth = 0;
/*******************************************************************************
@@ -60,7 +60,7 @@ static u32 acpi_gbl_depth = 0;
u32
acpi_ps_get_opcode_size (
- u32 opcode)
+ u32 opcode)
{
/* Extended (2-byte) opcode if > 255 */
@@ -89,10 +89,10 @@ acpi_ps_get_opcode_size (
u16
acpi_ps_peek_opcode (
- acpi_parse_state *parser_state)
+ struct acpi_parse_state *parser_state)
{
- u8 *aml;
- u16 opcode;
+ u8 *aml;
+ u16 opcode;
aml = parser_state->aml;
@@ -125,13 +125,13 @@ acpi_ps_peek_opcode (
void
acpi_ps_complete_this_op (
- acpi_walk_state *walk_state,
- acpi_parse_object *op)
+ struct acpi_walk_state *walk_state,
+ union acpi_parse_object *op)
{
- acpi_parse_object *prev;
- acpi_parse_object *next;
- const acpi_opcode_info *parent_info;
- acpi_parse_object *replacement_op = NULL;
+ union acpi_parse_object *prev;
+ union acpi_parse_object *next;
+ const struct acpi_opcode_info *parent_info;
+ union acpi_parse_object *replacement_op = NULL;
ACPI_FUNCTION_TRACE_PTR ("ps_complete_this_op", op);
@@ -281,12 +281,12 @@ acpi_ps_complete_this_op (
acpi_status
acpi_ps_next_parse_state (
- acpi_walk_state *walk_state,
- acpi_parse_object *op,
- acpi_status callback_status)
+ struct acpi_walk_state *walk_state,
+ union acpi_parse_object *op,
+ acpi_status callback_status)
{
- acpi_parse_state *parser_state = &walk_state->parser_state;
- acpi_status status = AE_CTRL_PENDING;
+ struct acpi_parse_state *parser_state = &walk_state->parser_state;
+ acpi_status status = AE_CTRL_PENDING;
ACPI_FUNCTION_TRACE_PTR ("ps_next_parse_state", op);
@@ -402,14 +402,14 @@ acpi_ps_next_parse_state (
acpi_status
acpi_ps_parse_loop (
- acpi_walk_state *walk_state)
+ struct acpi_walk_state *walk_state)
{
- acpi_status status = AE_OK;
- acpi_parse_object *op = NULL; /* current op */
- acpi_parse_object *arg = NULL;
- acpi_parse_object pre_op;
- acpi_parse_state *parser_state;
- u8 *aml_op_start = NULL;
+ acpi_status status = AE_OK;
+ union acpi_parse_object *op = NULL; /* current op */
+ union acpi_parse_object *arg = NULL;
+ union acpi_parse_object pre_op;
+ struct acpi_parse_state *parser_state;
+ u8 *aml_op_start = NULL;
ACPI_FUNCTION_TRACE_PTR ("ps_parse_loop", walk_state);
@@ -1029,13 +1029,13 @@ close_this_op:
acpi_status
acpi_ps_parse_aml (
- acpi_walk_state *walk_state)
+ struct acpi_walk_state *walk_state)
{
- acpi_status status;
- acpi_status terminate_status;
- acpi_thread_state *thread;
- acpi_thread_state *prev_walk_list = acpi_gbl_current_walk_list;
- acpi_walk_state *previous_walk_state;
+ acpi_status status;
+ acpi_status terminate_status;
+ struct acpi_thread_state *thread;
+ struct acpi_thread_state *prev_walk_list = acpi_gbl_current_walk_list;
+ struct acpi_walk_state *previous_walk_state;
ACPI_FUNCTION_TRACE ("ps_parse_aml");
@@ -1175,7 +1175,7 @@ acpi_ps_parse_aml (
/* Normal exit */
acpi_ex_release_all_mutexes (thread);
- acpi_ut_delete_generic_state (ACPI_CAST_PTR (acpi_generic_state, thread));
+ acpi_ut_delete_generic_state (ACPI_CAST_PTR (union acpi_generic_state, thread));
acpi_gbl_current_walk_list = prev_walk_list;
return_ACPI_STATUS (status);
}
diff --git a/drivers/acpi/parser/psscope.c b/drivers/acpi/parser/psscope.c
index 9595daea94f0..96426a654d4e 100644
--- a/drivers/acpi/parser/psscope.c
+++ b/drivers/acpi/parser/psscope.c
@@ -5,7 +5,7 @@
*****************************************************************************/
/*
- * Copyright (C) 2000 - 2002, R. Byron Moore
+ * Copyright (C) 2000 - 2003, R. Byron Moore
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -42,9 +42,9 @@
*
******************************************************************************/
-acpi_parse_object *
+union acpi_parse_object *
acpi_ps_get_parent_scope (
- acpi_parse_state *parser_state)
+ struct acpi_parse_state *parser_state)
{
return (parser_state->scope->parse_scope.op);
}
@@ -66,7 +66,7 @@ acpi_ps_get_parent_scope (
u8
acpi_ps_has_completed_scope (
- acpi_parse_state *parser_state)
+ struct acpi_parse_state *parser_state)
{
return ((u8) ((parser_state->aml >= parser_state->scope->parse_scope.arg_end ||
!parser_state->scope->parse_scope.arg_count)));
@@ -88,10 +88,10 @@ acpi_ps_has_completed_scope (
acpi_status
acpi_ps_init_scope (
- acpi_parse_state *parser_state,
- acpi_parse_object *root_op)
+ struct acpi_parse_state *parser_state,
+ union acpi_parse_object *root_op)
{
- acpi_generic_state *scope;
+ union acpi_generic_state *scope;
ACPI_FUNCTION_TRACE_PTR ("ps_init_scope", root_op);
@@ -132,12 +132,12 @@ acpi_ps_init_scope (
acpi_status
acpi_ps_push_scope (
- acpi_parse_state *parser_state,
- acpi_parse_object *op,
- u32 remaining_args,
- u32 arg_count)
+ struct acpi_parse_state *parser_state,
+ union acpi_parse_object *op,
+ u32 remaining_args,
+ u32 arg_count)
{
- acpi_generic_state *scope;
+ union acpi_generic_state *scope;
ACPI_FUNCTION_TRACE_PTR ("ps_push_scope", op);
@@ -194,12 +194,12 @@ acpi_ps_push_scope (
void
acpi_ps_pop_scope (
- acpi_parse_state *parser_state,
- acpi_parse_object **op,
- u32 *arg_list,
- u32 *arg_count)
+ struct acpi_parse_state *parser_state,
+ union acpi_parse_object **op,
+ u32 *arg_list,
+ u32 *arg_count)
{
- acpi_generic_state *scope = parser_state->scope;
+ union acpi_generic_state *scope = parser_state->scope;
ACPI_FUNCTION_TRACE ("ps_pop_scope");
@@ -252,9 +252,9 @@ acpi_ps_pop_scope (
void
acpi_ps_cleanup_scope (
- acpi_parse_state *parser_state)
+ struct acpi_parse_state *parser_state)
{
- acpi_generic_state *scope;
+ union acpi_generic_state *scope;
ACPI_FUNCTION_TRACE_PTR ("ps_cleanup_scope", parser_state);
diff --git a/drivers/acpi/parser/pstree.c b/drivers/acpi/parser/pstree.c
index 9d617381a5e1..7a26b072ada6 100644
--- a/drivers/acpi/parser/pstree.c
+++ b/drivers/acpi/parser/pstree.c
@@ -5,7 +5,7 @@
*****************************************************************************/
/*
- * Copyright (C) 2000 - 2002, R. Byron Moore
+ * Copyright (C) 2000 - 2003, R. Byron Moore
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -44,13 +44,13 @@
*
******************************************************************************/
-acpi_parse_object *
+union acpi_parse_object *
acpi_ps_get_arg (
- acpi_parse_object *op,
- u32 argn)
+ union acpi_parse_object *op,
+ u32 argn)
{
- acpi_parse_object *arg = NULL;
- const acpi_opcode_info *op_info;
+ union acpi_parse_object *arg = NULL;
+ const struct acpi_opcode_info *op_info;
ACPI_FUNCTION_ENTRY ();
@@ -100,11 +100,11 @@ acpi_ps_get_arg (
void
acpi_ps_append_arg (
- acpi_parse_object *op,
- acpi_parse_object *arg)
+ union acpi_parse_object *op,
+ union acpi_parse_object *arg)
{
- acpi_parse_object *prev_arg;
- const acpi_opcode_info *op_info;
+ union acpi_parse_object *prev_arg;
+ const struct acpi_opcode_info *op_info;
ACPI_FUNCTION_ENTRY ();
@@ -174,11 +174,11 @@ acpi_ps_append_arg (
*
******************************************************************************/
-acpi_parse_object *
+union acpi_parse_object *
acpi_ps_get_child (
- acpi_parse_object *op)
+ union acpi_parse_object *op)
{
- acpi_parse_object *child = NULL;
+ union acpi_parse_object *child = NULL;
ACPI_FUNCTION_ENTRY ();
@@ -243,14 +243,14 @@ acpi_ps_get_child (
*
******************************************************************************/
-acpi_parse_object *
+union acpi_parse_object *
acpi_ps_get_depth_next (
- acpi_parse_object *origin,
- acpi_parse_object *op)
+ union acpi_parse_object *origin,
+ union acpi_parse_object *op)
{
- acpi_parse_object *next = NULL;
- acpi_parse_object *parent;
- acpi_parse_object *arg;
+ union acpi_parse_object *next = NULL;
+ union acpi_parse_object *parent;
+ union acpi_parse_object *arg;
ACPI_FUNCTION_ENTRY ();
diff --git a/drivers/acpi/parser/psutils.c b/drivers/acpi/parser/psutils.c
index ce445012ab46..aea613f8f0b2 100644
--- a/drivers/acpi/parser/psutils.c
+++ b/drivers/acpi/parser/psutils.c
@@ -5,7 +5,7 @@
*****************************************************************************/
/*
- * Copyright (C) 2000 - 2002, R. Byron Moore
+ * Copyright (C) 2000 - 2003, R. Byron Moore
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -44,11 +44,11 @@
*
******************************************************************************/
-acpi_parse_object *
+union acpi_parse_object *
acpi_ps_create_scope_op (
void)
{
- acpi_parse_object *scope_op;
+ union acpi_parse_object *scope_op;
scope_op = acpi_ps_alloc_op (AML_SCOPE_OP);
@@ -78,8 +78,8 @@ acpi_ps_create_scope_op (
void
acpi_ps_init_op (
- acpi_parse_object *op,
- u16 opcode)
+ union acpi_parse_object *op,
+ u16 opcode)
{
ACPI_FUNCTION_ENTRY ();
@@ -106,14 +106,14 @@ acpi_ps_init_op (
*
******************************************************************************/
-acpi_parse_object*
+union acpi_parse_object*
acpi_ps_alloc_op (
- u16 opcode)
+ u16 opcode)
{
- acpi_parse_object *op = NULL;
- u32 size;
- u8 flags;
- const acpi_opcode_info *op_info;
+ union acpi_parse_object *op = NULL;
+ u32 size;
+ u8 flags;
+ const struct acpi_opcode_info *op_info;
ACPI_FUNCTION_ENTRY ();
@@ -124,23 +124,23 @@ acpi_ps_alloc_op (
/* Allocate the minimum required size object */
if (op_info->flags & AML_DEFER) {
- size = sizeof (acpi_parse_obj_named);
+ size = sizeof (struct acpi_parse_obj_named);
flags = ACPI_PARSEOP_DEFERRED;
}
else if (op_info->flags & AML_NAMED) {
- size = sizeof (acpi_parse_obj_named);
+ size = sizeof (struct acpi_parse_obj_named);
flags = ACPI_PARSEOP_NAMED;
}
else if (opcode == AML_INT_BYTELIST_OP) {
- size = sizeof (acpi_parse_obj_named);
+ size = sizeof (struct acpi_parse_obj_named);
flags = ACPI_PARSEOP_BYTELIST;
}
else {
- size = sizeof (acpi_parse_obj_common);
+ size = sizeof (struct acpi_parse_obj_common);
flags = ACPI_PARSEOP_GENERIC;
}
- if (size == sizeof (acpi_parse_obj_common)) {
+ if (size == sizeof (struct acpi_parse_obj_common)) {
/*
* The generic op is by far the most common (16 to 1)
*/
@@ -176,7 +176,7 @@ acpi_ps_alloc_op (
void
acpi_ps_free_op (
- acpi_parse_object *op)
+ union acpi_parse_object *op)
{
ACPI_FUNCTION_NAME ("ps_free_op");
@@ -233,7 +233,7 @@ acpi_ps_delete_parse_cache (
*/
u8
acpi_ps_is_leading_char (
- u32 c)
+ u32 c)
{
return ((u8) (c == '_' || (c >= 'A' && c <= 'Z')));
}
@@ -244,7 +244,7 @@ acpi_ps_is_leading_char (
*/
u8
acpi_ps_is_prefix_char (
- u32 c)
+ u32 c)
{
return ((u8) (c == '\\' || c == '^'));
}
@@ -255,7 +255,7 @@ acpi_ps_is_prefix_char (
*/
u32
acpi_ps_get_name (
- acpi_parse_object *op)
+ union acpi_parse_object *op)
{
@@ -276,8 +276,8 @@ acpi_ps_get_name (
*/
void
acpi_ps_set_name (
- acpi_parse_object *op,
- u32 name)
+ union acpi_parse_object *op,
+ u32 name)
{
/* The "generic" object has no name associated with it */
diff --git a/drivers/acpi/parser/pswalk.c b/drivers/acpi/parser/pswalk.c
index 81766b1150ac..78d98da30fca 100644
--- a/drivers/acpi/parser/pswalk.c
+++ b/drivers/acpi/parser/pswalk.c
@@ -5,7 +5,7 @@
*****************************************************************************/
/*
- * Copyright (C) 2000 - 2002, R. Byron Moore
+ * Copyright (C) 2000 - 2003, R. Byron Moore
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -47,14 +47,14 @@
acpi_status
acpi_ps_get_next_walk_op (
- acpi_walk_state *walk_state,
- acpi_parse_object *op,
- acpi_parse_upwards ascending_callback)
+ struct acpi_walk_state *walk_state,
+ union acpi_parse_object *op,
+ acpi_parse_upwards ascending_callback)
{
- acpi_parse_object *next;
- acpi_parse_object *parent;
- acpi_parse_object *grand_parent;
- acpi_status status;
+ union acpi_parse_object *next;
+ union acpi_parse_object *parent;
+ union acpi_parse_object *grand_parent;
+ acpi_status status;
ACPI_FUNCTION_TRACE_PTR ("ps_get_next_walk_op", op);
@@ -208,7 +208,7 @@ acpi_ps_get_next_walk_op (
acpi_status
acpi_ps_delete_completed_op (
- acpi_walk_state *walk_state)
+ struct acpi_walk_state *walk_state)
{
acpi_ps_free_op (walk_state->op);
@@ -230,11 +230,11 @@ acpi_ps_delete_completed_op (
void
acpi_ps_delete_parse_tree (
- acpi_parse_object *subtree_root)
+ union acpi_parse_object *subtree_root)
{
- acpi_walk_state *walk_state;
- acpi_thread_state *thread;
- acpi_status status;
+ struct acpi_walk_state *walk_state;
+ struct acpi_thread_state *thread;
+ acpi_status status;
ACPI_FUNCTION_TRACE_PTR ("ps_delete_parse_tree", subtree_root);
@@ -279,7 +279,7 @@ acpi_ps_delete_parse_tree (
/* We are done with this walk */
- acpi_ut_delete_generic_state (ACPI_CAST_PTR (acpi_generic_state, thread));
+ acpi_ut_delete_generic_state (ACPI_CAST_PTR (union acpi_generic_state, thread));
acpi_ds_delete_walk_state (walk_state);
return_VOID;
diff --git a/drivers/acpi/parser/psxface.c b/drivers/acpi/parser/psxface.c
index 629072c4c461..e5ef29d90caf 100644
--- a/drivers/acpi/parser/psxface.c
+++ b/drivers/acpi/parser/psxface.c
@@ -5,7 +5,7 @@
*****************************************************************************/
/*
- * Copyright (C) 2000 - 2002, R. Byron Moore
+ * Copyright (C) 2000 - 2003, R. Byron Moore
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -54,15 +54,15 @@
acpi_status
acpi_psx_execute (
- acpi_namespace_node *method_node,
- acpi_operand_object **params,
- acpi_operand_object **return_obj_desc)
+ struct acpi_namespace_node *method_node,
+ union acpi_operand_object **params,
+ union acpi_operand_object **return_obj_desc)
{
- acpi_status status;
- acpi_operand_object *obj_desc;
- u32 i;
- acpi_parse_object *op;
- acpi_walk_state *walk_state;
+ acpi_status status;
+ union acpi_operand_object *obj_desc;
+ u32 i;
+ union acpi_parse_object *op;
+ struct acpi_walk_state *walk_state;
ACPI_FUNCTION_TRACE ("psx_execute");