X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Facpi%2Fpower.c;h=6793d24c527975afa3597f9e846e47114daca69d;hb=ec042914054a3965417de7acb4f767365cb47ea8;hp=9ac2a9fa90ff23092c96b9b1b51af5a83f1d598e;hpb=e197f094b7da7d94812492cfcd706d143f1020e5;p=pandora-kernel.git diff --git a/drivers/acpi/power.c b/drivers/acpi/power.c index 9ac2a9fa90ff..6793d24c5279 100644 --- a/drivers/acpi/power.c +++ b/drivers/acpi/power.c @@ -152,7 +152,7 @@ static int acpi_power_get_list_state(struct acpi_handle_list *list, int *state) return -EINVAL; /* The state of the list is 'on' IFF all resources are 'on'. */ - + cur_state = 0; for (i = 0; i < list->count; i++) { struct acpi_power_resource *resource; acpi_handle handle = list->handles[i];