Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 65113
b: refs/heads/master
c: 5a50fe7
h: refs/heads/master
i:
  65111: 9d889f7
v: v3
  • Loading branch information
Frans Pop authored and Len Brown committed Sep 22, 2007
1 parent 69fa7e6 commit ee95cde
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f216cc3748a3a22c2b99390fddcdafa0583791a2
refs/heads/master: 5a50fe709d527f31169263e36601dd83446d5744
6 changes: 4 additions & 2 deletions trunk/drivers/acpi/sleep/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,9 +401,11 @@ int __init acpi_sleep_init(void)
if (acpi_disabled)
return 0;

printk(KERN_INFO PREFIX "(supports");
sleep_states[ACPI_STATE_S0] = 1;
printk(KERN_INFO PREFIX "(supports S0");

#ifdef CONFIG_SUSPEND
for (i = ACPI_STATE_S0; i < ACPI_STATE_S4; i++) {
for (i = ACPI_STATE_S1; i < ACPI_STATE_S4; i++) {
status = acpi_get_sleep_type_data(i, &type_a, &type_b);
if (ACPI_SUCCESS(status)) {
sleep_states[i] = 1;
Expand Down

0 comments on commit ee95cde

Please sign in to comment.