linux/drivers/staging/media
Arnd Bergmann d47e1e7c46 s5p-cec: mark PM functions as __maybe_unused again
commit eadf081146 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 aee8937089
("[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: 57b978ada0 ("[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>
History 2017-01-26 08:24:45 +01:00
..
bcm2048 media fixes for v4.9-rc4 2016-11-05 11:15:09 -07:00
cec Linux 4.8 2016-10-05 16:43:53 -03:00
cxd2099 staging: media: cxd2099: replace printk with dev_info 2016-09-20 13:59:45 +02:00
davinci_vpfe staging: media: davinci_vpfe: unlock on error in vpfe_reqbufs() 2017-01-12 11:39:35 +01:00
lirc media updates for v4.9-rc1 2016-10-11 13:22:22 -07:00
omap4iss [media] staging: media: omap4iss: mark omap4iss_flush() static 2016-09-19 16:28:05 -03:00
pulse8-cec Linux 4.8 2016-10-05 16:43:53 -03:00
s5p-cec s5p-cec: mark PM functions as __maybe_unused again 2017-01-26 08:24:45 +01:00
st-cec [media] add stih-cec driver 2016-09-19 12:48:34 -03:00
Kconfig [media] add stih-cec driver 2016-09-19 12:48:34 -03:00
Makefile [media] add stih-cec driver 2016-09-19 12:48:34 -03:00