CC drivers/acpi/sleep.o drivers/acpi/sleep.c:60: warning: ‘pwr_btn_event_pending’ defined but not used
Signed-off-by: Daniel Halperin <[email protected]> --- NOTE: Developed on linux-3.5.y branch. May be applicable to updated kernel as well. drivers/acpi/sleep.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c index 8856102..45b90c4 100644 --- a/drivers/acpi/sleep.c +++ b/drivers/acpi/sleep.c @@ -57,7 +57,9 @@ MODULE_PARM_DESC(gts, "Enable evaluation of _GTS on suspend."); MODULE_PARM_DESC(bfs, "Enable evaluation of _BFS on resume".); static u8 sleep_states[ACPI_S_STATE_COUNT]; +#if defined(CONFIG_ACPI_SLEEP) || defined(CONFIG_SUSPEND) static bool pwr_btn_event_pending; +#endif static void acpi_sleep_tts_switch(u32 acpi_state) { -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
