--- drivers/acpi/hardware/hwsleep.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) Index: linux-2.6.25-rc6/drivers/acpi/hardware/hwsleep.c =================================================================== --- linux-2.6.25-rc6.orig/drivers/acpi/hardware/hwsleep.c +++ linux-2.6.25-rc6/drivers/acpi/hardware/hwsleep.c @@ -188,12 +188,11 @@ acpi_status acpi_enter_sleep_state_prep( arg_list.count = 1; arg_list.pointer = &arg; - arg.type = ACPI_TYPE_INTEGER; - arg.integer.value = sleep_state; /* Run the _PTS method */ + arg.integer.value = sleep_state; status = acpi_evaluate_object(NULL, METHOD_NAME__PTS, &arg_list, NULL); if (ACPI_FAILURE(status) && status != AE_NOT_FOUND) { return_ACPI_STATUS(status); @@ -305,8 +304,8 @@ acpi_status asmlinkage acpi_enter_sleep_ arg_list.count = 1; arg_list.pointer = &arg; arg.type = ACPI_TYPE_INTEGER; - arg.integer.value = sleep_state; + arg.integer.value = sleep_state; status = acpi_evaluate_object(NULL, METHOD_NAME__GTS, &arg_list, NULL); if (ACPI_FAILURE(status) && status != AE_NOT_FOUND) { return_ACPI_STATUS(status); @@ -551,8 +550,8 @@ acpi_status acpi_leave_sleep_state_prep( arg_list.count = 1; arg_list.pointer = &arg; arg.type = ACPI_TYPE_INTEGER; - arg.integer.value = sleep_state; + arg.integer.value = sleep_state; status = acpi_evaluate_object(NULL, METHOD_NAME__BFS, &arg_list, NULL); if (ACPI_FAILURE(status) && status != AE_NOT_FOUND) { ACPI_EXCEPTION((AE_INFO, status, "During Method _BFS"));