diff options
| author | Arnd Bergmann <[email protected]> | 2017-07-17 04:56:47 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-07-20 15:51:50 -0400 |
| commit | 06e4924644014db548f2241d44cb287c2ae58749 (patch) | |
| tree | a5da21efc5b4cce3f3adc5129aaf9cf9a4cd76b0 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | faafd9e70ec73eca5acec3b633efc69142de57e3 (diff) | |
media: venus: mark PM functions as __maybe_unused
Without PM support, gcc warns about two unused functions:
platform/qcom/venus/core.c:146:13: error: 'venus_clks_disable' defined but not used [-Werror=unused-function]
platform/qcom/venus/core.c:126:12: error: 'venus_clks_enable' defined but not used [-Werror=unused-function]
The problem as usual are incorrect #ifdefs, so the easiest fix
is to do away with the #ifdef completely and mark the suspend/resume
handlers as __maybe_unused, which they are.
Fixes: af2c3834c8ca ("[media] media: venus: adding core part and helper functions")
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Stanimir Varbanov <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions