linux/drivers/media/platform/exynos-gsc
Ulf Hansson 81aa8d141f [media] exynos-gsc: Make PM callbacks available conditionally
There are no need to set up the PM callbacks (runtime and system) unless
they are being used. It also causes compiler warnings about unused
functions.

Silence the warnings by making them available for CONFIG_PM (runtime
callbacks) and CONFIG_PM_SLEEP (system sleep callbacks).

[mszyprow: squashed two patches into one to avoid potential build
break, changed patch subject and updated commit message]

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-11-16 16:31:54 -02:00
..
gsc-core.c [media] exynos-gsc: Make PM callbacks available conditionally 2016-11-16 16:31:54 -02:00
gsc-core.h [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
gsc-m2m.c [media] exynos-gsc: cleanup m2m src and dst vb2 queues on STREAMOFF 2016-11-16 16:29:17 -02:00
gsc-regs.c
gsc-regs.h
Makefile