diff options
| author | Arnd Bergmann <[email protected]> | 2016-10-26 07:43:43 -0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2016-11-19 10:20:09 -0200 |
| commit | 33e423c40ccf6eedbb5dc6e687524f9133368601 (patch) | |
| tree | 77bcaaa6e266cded26bfe19e19150f67580aedf9 /tools/perf/scripts/python | |
| parent | f2709c206d8a3e11729e68d80c57e7470bbe8e5e (diff) | |
[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: 1b06fcf56aa6 ("[media] media: mtk-mdp: fix build error")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions