linux/drivers/media/platform/mtk-mdp
Arnd Bergmann 33e423c40c [media] media: mtk-mdp: mark PM functions as __maybe_unused
A previous patch tried to fix a build error, but introduced another
warning:

drivers/media/platform/mtk-mdp/mtk_mdp_core.c:71:13: error: ‘mtk_mdp_clock_off’ defined but not used [-Werror=unused-function]
drivers/media/platform/mtk-mdp/mtk_mdp_core.c:62:13: error: ‘mtk_mdp_clock_on’ defined but not used [-Werror=unused-function]

This marks all the PM functions as __maybe_unused and removes
the #ifdef around them, as that will always do the right thing.

Fixes: 1b06fcf56a ("[media] media: mtk-mdp: fix build error")

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-11-19 10:20:09 -02:00
..
Makefile
mtk_mdp_comp.c
mtk_mdp_comp.h
mtk_mdp_core.c [media] media: mtk-mdp: mark PM functions as __maybe_unused 2016-11-19 10:20:09 -02:00
mtk_mdp_core.h
mtk_mdp_ipi.h
mtk_mdp_m2m.c [media] media: mtk-mdp: fix build warning in arch x86 2016-10-21 12:09:50 -02:00
mtk_mdp_m2m.h
mtk_mdp_regs.c [media] media: mtk-mdp: support pixelformat V4L2_PIX_FMT_MT21C 2016-10-21 12:09:48 -02:00
mtk_mdp_regs.h
mtk_mdp_vpu.c [media] mtk-mdp: fix double mutex_unlock 2016-10-21 12:09:53 -02:00
mtk_mdp_vpu.h