Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torvalds/linux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2012-07-23 23:01:02 +0400
committerLen Brown <len.brown@intel.com>2012-07-27 03:25:08 +0400
commita5ca7345c1e67cd12cf75a9ec034c7d34786ae79 (patch)
tree46c6174ed1755d8623a4481031f9da6089bc1a62 /drivers/acpi/sysfs.c
parent28a33cbc24e4256c143dce96c7d93bf423229f92 (diff)
ACPI / PM: Fix build warning in sleep.c for CONFIG_ACPI_SLEEP unset
If CONFIG_ACPI_SLEEP is unset, the compiler complains that pwr_btn_event_pending is defined but not used. To silence the warning, move the definition of pwr_btn_event_pending under an appropriate #ifdef. Reported-by: Paul E. McKenney <paul.mckenney@linaro.org> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Tested-by: Paul E. McKenney <paul.mckenney@linaro.org> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/sysfs.c')
0 files changed, 0 insertions, 0 deletions