summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/cx25821/cx25821-cards.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2020-09-09 13:29:21 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-09-26 10:34:04 +0200
commitab11fae0be7a7bcb7aec75c5b081d37ed0a0ed08 (patch)
tree17ed325d05376d460850076c53d89d273428312a /drivers/media/pci/cx25821/cx25821-cards.c
parent11fceb9b5fabdf0b99212943c20986b936f67c73 (diff)
downloadlinux-ab11fae0be7a7bcb7aec75c5b081d37ed0a0ed08.tar.bz2
media: marvell-ccic: mmp: mark PM functions as __maybe_unused
The suspend/resume functions have no callers depending on configuration, so they must be marked __maybe_unused to avoid these harmless warnings: drivers/media/platform/marvell-ccic/mmp-driver.c:347:12: warning: 'mmpcam_resume' defined but not used [-Wunused-function] 347 | static int mmpcam_resume(struct device *dev) | ^~~~~~~~~~~~~ drivers/media/platform/marvell-ccic/mmp-driver.c:338:12: warning: 'mmpcam_suspend' defined but not used [-Wunused-function] 338 | static int mmpcam_suspend(struct device *dev) | ^~~~~~~~~~~~~~ Fixes: 55cd34524aa3 ("media: marvell-ccic: add support for runtime PM") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/pci/cx25821/cx25821-cards.c')
0 files changed, 0 insertions, 0 deletions