diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2016-09-12 18:32:58 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-09-19 22:25:33 +0300 |
| commit | b7e5063589646f95520bc21d1c87c96671bd5101 (patch) | |
| tree | 9e88fab03e337bb13df1697f40bc0c5af5db6111 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 37f0644f3a5648e6c081587e05df0572e33c70a6 (diff) | |
| download | linux-b7e5063589646f95520bc21d1c87c96671bd5101.tar.xz | |
[media] atmel-isc: mark PM functions as __maybe_unused
The newly added atmel-isc driver uses SET_RUNTIME_PM_OPS() to
refer to its suspend/resume functions, causing a warning when
CONFIG_PM is not set:
media/platform/atmel/atmel-isc.c:1477:12: error: 'isc_runtime_resume' defined but not used [-Werror=unused-function]
media/platform/atmel/atmel-isc.c:1467:12: error: 'isc_runtime_suspend' defined but not used [-Werror=unused-function]
This adds __maybe_unused annotations to avoid the warning without
adding an error-prone #ifdef around it.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
