diff options
Diffstat (limited to 'drivers/acpi/sleep.c')
-rw-r--r-- | drivers/acpi/sleep.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c index 31ff2a9a03d7..779e4e500df4 100644 --- a/drivers/acpi/sleep.c +++ b/drivers/acpi/sleep.c | |||
@@ -21,6 +21,8 @@ | |||
21 | 21 | ||
22 | #include <acpi/acpi_bus.h> | 22 | #include <acpi/acpi_bus.h> |
23 | #include <acpi/acpi_drivers.h> | 23 | #include <acpi/acpi_drivers.h> |
24 | |||
25 | #include "internal.h" | ||
24 | #include "sleep.h" | 26 | #include "sleep.h" |
25 | 27 | ||
26 | u8 sleep_states[ACPI_S_STATE_COUNT]; | 28 | u8 sleep_states[ACPI_S_STATE_COUNT]; |
@@ -248,7 +250,7 @@ static int acpi_suspend_enter(suspend_state_t pm_state) | |||
248 | 250 | ||
249 | /* If ACPI is not enabled by the BIOS, we need to enable it here. */ | 251 | /* If ACPI is not enabled by the BIOS, we need to enable it here. */ |
250 | if (set_sci_en_on_resume) | 252 | if (set_sci_en_on_resume) |
251 | acpi_set_register(ACPI_BITREG_SCI_ENABLE, 1); | 253 | acpi_write_bit_register(ACPI_BITREG_SCI_ENABLE, 1); |
252 | else | 254 | else |
253 | acpi_enable(); | 255 | acpi_enable(); |
254 | 256 | ||