summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2016-11-14 13:27:32 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-16 21:31:54 +0300
commit81aa8d141f84868f3523eeab6ced4991819e7f18 (patch)
tree8bfe2cd06117a2e62eca00ca5906a5915f8edef6 /include/linux
parent15f90ab57acc318a90578a2e05b7b450e0e3cfe0 (diff)
downloadlinux-81aa8d141f84868f3523eeab6ced4991819e7f18.tar.xz
[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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions