Auto-update from upstream

Cette révision appartient à :
Len Brown
2005-08-29 17:02:17 -04:00
révision 27a639a92d
238 fichiers modifiés avec 13074 ajouts et 6198 suppressions

Voir le fichier

@@ -55,7 +55,11 @@ void acpi_power_off(void)
static int acpi_shutdown(struct sys_device *x)
{
return acpi_sleep_prepare(ACPI_STATE_S5);
if (system_state == SYSTEM_POWER_OFF) {
/* Prepare if we are going to power off the system */
return acpi_sleep_prepare(ACPI_STATE_S5);
}
return 0;
}
static struct sysdev_class acpi_sysclass = {