linux/drivers/media/platform/marvell-ccic
Wei Yongjun ab11fae0be 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: 55cd34524a ("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>
2020-09-26 10:34:04 +02:00
..
cafe-driver.c media: cafe-driver: use drvdata instead of back-casting from v4l2_device 2020-08-29 08:08:20 +02:00
Kconfig media: marvell-ccic: provide a clock for the sensor 2019-06-24 11:33:49 -04:00
Makefile
mcam-core.c media: Use fallthrough pseudo-keyword 2020-08-29 08:35:27 +02:00
mcam-core.h media: cafe-driver: use generic power management 2020-08-06 11:26:42 +02:00
mmp-driver.c media: marvell-ccic: mmp: mark PM functions as __maybe_unused 2020-09-26 10:34:04 +02:00