diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-10-26 12:43:43 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-19 15:20:09 +0300 |
commit | 33e423c40ccf6eedbb5dc6e687524f9133368601 (patch) | |
tree | 77bcaaa6e266cded26bfe19e19150f67580aedf9 /drivers/media/usb/dvb-usb | |
parent | f2709c206d8a3e11729e68d80c57e7470bbe8e5e (diff) | |
download | linux-33e423c40ccf6eedbb5dc6e687524f9133368601.tar.xz |
[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 <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb')
0 files changed, 0 insertions, 0 deletions