diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-07-24 17:35:37 +0200 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2018-07-30 08:50:12 -0400 |
commit | 78918cd0eee346c43e2d9dc553fadfacad6cb488 (patch) | |
tree | 8305a90a6b67201e457efbb4694678d93384e0db /tools/perf/scripts/python/powerpc-hcalls.py | |
parent | f4b0f66daf77ac79807711310597e4c102f72bd8 (diff) |
drm/msm: mark PM functions as __maybe_unused
The suspend/resume functions are not referenced when power
management is disabled:
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:1288:12: error: 'dpu_runtime_resume' defined but not used [-Werror=unused-function]
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:1261:12: error: 'dpu_runtime_suspend' defined but not used [-Werror=unused-function]
This marks them as __maybe_unused to let the compiler
drop the functions without complaining.
Fixes: 591225291ca2 ("drm/msm: Add SDM845 DPU support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions