diff options
Diffstat (limited to 'drivers/acpi/sleep.c')
-rw-r--r-- | drivers/acpi/sleep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c index 88561029cca8..dca8074b6704 100644 --- a/drivers/acpi/sleep.c +++ b/drivers/acpi/sleep.c | |||
@@ -57,7 +57,6 @@ MODULE_PARM_DESC(gts, "Enable evaluation of _GTS on suspend."); | |||
57 | MODULE_PARM_DESC(bfs, "Enable evaluation of _BFS on resume".); | 57 | MODULE_PARM_DESC(bfs, "Enable evaluation of _BFS on resume".); |
58 | 58 | ||
59 | static u8 sleep_states[ACPI_S_STATE_COUNT]; | 59 | static u8 sleep_states[ACPI_S_STATE_COUNT]; |
60 | static bool pwr_btn_event_pending; | ||
61 | 60 | ||
62 | static void acpi_sleep_tts_switch(u32 acpi_state) | 61 | static void acpi_sleep_tts_switch(u32 acpi_state) |
63 | { | 62 | { |
@@ -110,6 +109,7 @@ static int acpi_sleep_prepare(u32 acpi_state) | |||
110 | 109 | ||
111 | #ifdef CONFIG_ACPI_SLEEP | 110 | #ifdef CONFIG_ACPI_SLEEP |
112 | static u32 acpi_target_sleep_state = ACPI_STATE_S0; | 111 | static u32 acpi_target_sleep_state = ACPI_STATE_S0; |
112 | static bool pwr_btn_event_pending; | ||
113 | 113 | ||
114 | /* | 114 | /* |
115 | * The ACPI specification wants us to save NVS memory regions during hibernation | 115 | * The ACPI specification wants us to save NVS memory regions during hibernation |