diff options
| author | Rafael J. Wysocki <[email protected]> | 2012-07-23 19:01:02 +0000 |
|---|---|---|
| committer | Len Brown <[email protected]> | 2012-07-26 23:25:08 +0000 |
| commit | a5ca7345c1e67cd12cf75a9ec034c7d34786ae79 (patch) | |
| tree | 46c6174ed1755d8623a4481031f9da6089bc1a62 /tools/perf/scripts/python | |
| parent | Linux 3.5 (diff) | |
| download | kernel-a5ca7345c1e67cd12cf75a9ec034c7d34786ae79.tar.gz kernel-a5ca7345c1e67cd12cf75a9ec034c7d34786ae79.zip | |
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 <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Tested-by: Paul E. McKenney <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
