summaryrefslogtreecommitdiff
path: root/drivers/media/platform/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-06-30 12:23:02 (GMT)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-13 16:46:12 (GMT)
commitaf2e14bb3f6cbe67459f17dd2879bb475a9c4e09 (patch)
treedbd744d8b1d834c31cbae1de19ab2e08ef07c5b0 /drivers/media/platform/Kconfig
parentc9a3429bcc5d9e2c0e416abd98e71ac50c54e8ea (diff)
downloadlinux-af2e14bb3f6cbe67459f17dd2879bb475a9c4e09.tar.xz
[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: 1e6af546ee66 ("[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>
Diffstat (limited to 'drivers/media/platform/Kconfig')
0 files changed, 0 insertions, 0 deletions