aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2014-07-16 13:43:06 -0400
committerMatthew Garrett <matthew.garrett@nebula.com>2014-08-16 04:23:51 -0400
commit80f65558bdd14c0a113cd085582d578a3a3a1976 (patch)
treea6fa8a6d21aaeda6b3731461f003c22a37ac7e08 /tools/perf/util/scripting-engines/trace-event-python.c
parent87e448493297b32631ef7db3bd5bcf723e9600b2 (diff)
acer-wmi: Hide acer_{suspend,resume} for !CONFIG_PM_SLEEP
Encapsulate acer_suspend() and acer_resume with #ifdef CONFIG_PM_SLEEP to get rid of the following warnings: ../acer-wmi.c:2046:12: warning: ‘acer_suspend’ defined but not used [-Wunused-function] ../acer-wmi.c:2068:12: warning: ‘acer_resume’ defined but not used [-Wunused-function] Signed-off-by: Mathias Krause <minipli@googlemail.com> Cc: "Lee, Chun-Yi" <jlee@suse.com> Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions