diff options
author | Arnd Bergmann <[email protected]> | 2016-02-08 14:36:13 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2016-02-14 17:39:36 -0800 |
commit | 9db669f14fd8297c42c5d3ea06720e992845f48a (patch) | |
tree | 5db54745b1809d56d8c54299a75affcdad8ff727 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 146f3808e08faabba46ea9574133a66aa4a9468d (diff) |
8250: mediatek: mark PM functions as __maybe_unused
The mtk8250_runtime_suspend function is not used when runtime PM is
disabled, so we get a warning about an unused function:
drivers/tty/serial/8250/8250_mtk.c:119:12: error: 'mtk8250_runtime_suspend' defined but not used [-Werror=unused-function]
static int mtk8250_runtime_suspend(struct device *dev)
This marks all the PM functions as __maybe_unused to avoid the warning,
and removes the #ifdef around the PM_SLEEP functions for consistency.
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Matthias Brugger <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions