patch-2.4.2 linux/drivers/acpi/namespace/nsinit.c

Next file: linux/drivers/acpi/namespace/nsnames.c
Previous file: linux/drivers/acpi/namespace/nseval.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.1/linux/drivers/acpi/namespace/nsinit.c linux/drivers/acpi/namespace/nsinit.c
@@ -1,7 +1,7 @@
 /******************************************************************************
  *
  * Module Name: nsinit - namespace initialization
- *              $Revision: 12 $
+ *              $Revision: 15 $
  *
  *****************************************************************************/
 
@@ -89,13 +89,12 @@
 
 ACPI_STATUS
 acpi_ns_initialize_devices (
-	u32                     flags)
+	void)
 {
 	ACPI_STATUS             status;
 	ACPI_DEVICE_WALK_INFO   info;
 
 
-	info.flags = flags;
 	info.device_count = 0;
 	info.num_STA = 0;
 	info.num_INI = 0;
@@ -168,6 +167,7 @@
 		info->op_region_init++;
 		status = acpi_ds_get_region_arguments (obj_desc);
 
+
 		break;
 
 
@@ -180,6 +180,8 @@
 
 		info->field_init++;
 		status = acpi_ds_get_field_unit_arguments (obj_desc);
+
+
 		break;
 
 	default:
@@ -198,7 +200,7 @@
  *
  * FUNCTION:    Acpi_ns_init_one_device
  *
- * PARAMETERS:  The usual "I'm a namespace callback" stuff
+ * PARAMETERS:  WALK_CALLBACK
  *
  * RETURN:      ACPI_STATUS
  *
@@ -221,6 +223,7 @@
 	ACPI_DEVICE_WALK_INFO  *info = (ACPI_DEVICE_WALK_INFO *) context;
 
 
+
 	info->device_count++;
 
 	acpi_cm_acquire_mutex (ACPI_MTX_NAMESPACE);
@@ -250,6 +253,7 @@
 		/* don't look at children of a not present device */
 		return(AE_CTRL_DEPTH);
 	}
+
 
 	/*
 	 * The device is present. Run _INI.

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)