OpenCloudOS-Kernel/drivers/media/platform/vsp1
Arnd Bergmann af2e14bb3f [media] vsp1: use __maybe_unused for PM handlers
Building without CONFIG_PM results in a harmless warning from
slightly incorrect #ifdef guards:

drivers/media/platform/vsp1/vsp1_drv.c:525:12: error: 'vsp1_pm_runtime_resume' defined but not used [-Werror=unused-function]
drivers/media/platform/vsp1/vsp1_drv.c:516:12: error: 'vsp1_pm_runtime_suspend' defined but not used [-Werror=unused-function]

This removes the existing #ifdef and instead marks all four
PM functions as __maybe_unused.

Fixes: 1e6af546ee ("[media] v4l: vsp1: Implement runtime PM support")

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-07-13 13:46:12 -03:00
..
Makefile [media] v4l: vsp1: Add Cubic Look Up Table (CLU) support 2016-06-28 12:17:36 -03:00
vsp1.h [media] v4l: vsp1: wpf: Add flipping support 2016-06-28 12:42:43 -03:00
vsp1_bru.c [media] v4l: vsp1: Support runtime modification of controls 2016-06-28 12:23:43 -03:00
vsp1_bru.h [media] v4l: vsp1: Store active selection rectangles in a pad config structure 2016-04-13 18:53:22 -03:00
vsp1_clu.c [media] v4l: vsp1: clu: Support runtime modification of controls 2016-06-28 12:25:31 -03:00
vsp1_clu.h [media] v4l: vsp1: clu: Support runtime modification of controls 2016-06-28 12:25:31 -03:00
vsp1_dl.c [media] v4l: vsp1: dl: Don't free fragments with interrupts disabled 2016-06-28 12:13:45 -03:00
vsp1_dl.h [media] v4l: vsp1: dl: Add support for multi-body display lists 2016-04-13 19:13:23 -03:00
vsp1_drm.c [media] v4l: vsp1: Support runtime modification of controls 2016-06-28 12:23:43 -03:00
vsp1_drm.h [media] v4l: vsp1: Add Z-order support for DRM pipeline 2016-04-13 19:15:03 -03:00
vsp1_drv.c [media] vsp1: use __maybe_unused for PM handlers 2016-07-13 13:46:12 -03:00
vsp1_entity.c [media] v4l: vsp1: Add Cubic Look Up Table (CLU) support 2016-06-28 12:17:36 -03:00
vsp1_entity.h [media] v4l: vsp1: Support runtime modification of controls 2016-06-28 12:23:43 -03:00
vsp1_hsit.c [media] v4l: vsp1: Support runtime modification of controls 2016-06-28 12:23:43 -03:00
vsp1_hsit.h [media] v4l: vsp1: Add HST and HSI support 2013-12-11 09:22:44 -02:00
vsp1_lif.c [media] v4l: vsp1: Support runtime modification of controls 2016-06-28 12:23:43 -03:00
vsp1_lif.h [media] v4l: vsp1: Update copyright notice 2014-03-12 10:41:51 -03:00
vsp1_lut.c [media] v4l: vsp1: lut: Support runtime modification of controls 2016-06-28 12:24:37 -03:00
vsp1_lut.h [media] v4l: vsp1: lut: Support runtime modification of controls 2016-06-28 12:24:37 -03:00
vsp1_pipe.c [media] v4l: vsp1: Simplify alpha propagation 2016-06-28 12:29:33 -03:00
vsp1_pipe.h [media] v4l: vsp1: Simplify alpha propagation 2016-06-28 12:29:33 -03:00
vsp1_regs.h [media] v4l: vsp1: wpf: Add flipping support 2016-06-28 12:42:43 -03:00
vsp1_rpf.c [media] v4l: vsp1: wpf: Add flipping support 2016-06-28 12:42:43 -03:00
vsp1_rwpf.c [media] v4l: vsp1: wpf: Add flipping support 2016-06-28 12:42:43 -03:00
vsp1_rwpf.h [media] v4l: vsp1: wpf: Add flipping support 2016-06-28 12:42:43 -03:00
vsp1_sru.c [media] v4l: vsp1: Support runtime modification of controls 2016-06-28 12:23:43 -03:00
vsp1_sru.h [media] v4l: vsp1: sru: Don't program intensity in control set handler 2016-04-13 17:42:44 -03:00
vsp1_uds.c [media] v4l: vsp1: Simplify alpha propagation 2016-06-28 12:29:33 -03:00
vsp1_uds.h [media] v4l: vsp1: Simplify alpha propagation 2016-06-28 12:29:33 -03:00
vsp1_video.c Merge branch 'topic/vsp1' into patchwork 2016-07-13 13:43:48 -03:00
vsp1_video.h Merge branch 'topic/vsp1' into patchwork 2016-07-13 13:43:48 -03:00
vsp1_wpf.c [media] v4l: vsp1: wpf: Add flipping support 2016-06-28 12:42:43 -03:00