diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-07-17 10:56:47 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-07-26 12:14:31 +0200 |
commit | eb918f915f5bdf0d78479567dab016dfa975673e (patch) | |
tree | 6faa48fdae8e45af3dda0b84b2e00c56c606d534 /usr | |
parent | media: cec-notifier: small improvements (diff) | |
download | linux-eb918f915f5bdf0d78479567dab016dfa975673e.tar.xz linux-eb918f915f5bdf0d78479567dab016dfa975673e.zip |
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 <arnd@arndb.de>
Reviewed-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions