mirror of
https://github.com/torvalds/linux.git
synced 2024-12-30 14:52:05 +00:00
33e423c40c
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:
|
||
---|---|---|
.. | ||
Makefile | ||
mtk_mdp_comp.c | ||
mtk_mdp_comp.h | ||
mtk_mdp_core.c | ||
mtk_mdp_core.h | ||
mtk_mdp_ipi.h | ||
mtk_mdp_m2m.c | ||
mtk_mdp_m2m.h | ||
mtk_mdp_regs.c | ||
mtk_mdp_regs.h | ||
mtk_mdp_vpu.c | ||
mtk_mdp_vpu.h |