patch-2.4.6 linux/drivers/acpi/parser/pstree.c
Next file: linux/drivers/acpi/parser/psutils.c
Previous file: linux/drivers/acpi/parser/psscope.c
Back to the patch index
Back to the overall index
-  Lines: 43
-  Date:
Wed Jun 20 17:47:40 2001
-  Orig file: 
v2.4.5/linux/drivers/acpi/parser/pstree.c
-  Orig date: 
Mon Jan 22 13:23:43 2001
diff -u --recursive --new-file v2.4.5/linux/drivers/acpi/parser/pstree.c linux/drivers/acpi/parser/pstree.c
@@ -1,7 +1,7 @@
 /******************************************************************************
  *
  * Module Name: pstree - Parser op tree manipulation/traversal/search
- *              $Revision: 27 $
+ *              $Revision: 30 $
  *
  *****************************************************************************/
 
@@ -28,7 +28,7 @@
 #include "acparser.h"
 #include "amlcode.h"
 
-#define _COMPONENT          PARSER
+#define _COMPONENT          ACPI_PARSER
 	 MODULE_NAME         ("pstree")
 
 
@@ -174,13 +174,12 @@
 	ACPI_PARSE_OBJECT       *child = NULL;
 
 
-	switch (op->opcode)
-	{
+	switch (op->opcode) {
 	case AML_SCOPE_OP:
 	case AML_ELSE_OP:
 	case AML_DEVICE_OP:
 	case AML_THERMAL_ZONE_OP:
-	case AML_METHODCALL_OP:
+	case AML_INT_METHODCALL_OP:
 
 		child = acpi_ps_get_arg (op, 0);
 		break;
@@ -191,7 +190,7 @@
 	case AML_METHOD_OP:
 	case AML_IF_OP:
 	case AML_WHILE_OP:
-	case AML_DEF_FIELD_OP:
+	case AML_FIELD_OP:
 
 		child = acpi_ps_get_arg (op, 1);
 		break;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)