diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-10-13 14:39:04 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-26 07:24:45 (GMT) |
commit | d47e1e7c46fed13f6e9d60c98f8352c714db695e (patch) | |
tree | 55a85173dcff18075dc28eb6ef74fcdd7a514d37 /init/init_task.c | |
parent | dfe8e5730fa1a91129c65dacf85783fa796d7e0a (diff) | |
download | linux-d47e1e7c46fed13f6e9d60c98f8352c714db695e.tar.xz |
s5p-cec: mark PM functions as __maybe_unused again
commit eadf081146ec327d6fbbb6aff28e3d9aac329dc6 upstream.
A bugfix removed the two callers of s5p_cec_runtime_suspend
and s5p_cec_runtime_resume, leading to the return of a harmless
warning that I had previously fixed in commit aee8937089b1
("[media] s5p_cec: mark suspend/resume as __maybe_unused"):
staging/media/s5p-cec/s5p_cec.c:234:12: error: ‘s5p_cec_runtime_suspend’ defined but not used [-Werror=unused-function]
staging/media/s5p-cec/s5p_cec.c:242:12: error: ‘s5p_cec_runtime_resume’ defined but not used [-Werror=unused-function]
This adds the __maybe_unused annotations to the function that
were not removed and that are now unused when CONFIG_PM
is disabled.
Fixes: 57b978ada073 ("[media] s5p-cec: fix system and runtime PM integration")
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'init/init_task.c')
0 files changed, 0 insertions, 0 deletions