media: media/platform/marvell-ccic: fix warnings when CONFIG_PM is not enabled
authorRandy Dunlap <rdunlap@infradead.org>
Tue, 20 Oct 2020 06:02:04 +0000 (08:02 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 5 Nov 2020 13:32:35 +0000 (14:32 +0100)
commite6fcf468c51da28c56ea447e147475a731acbdf1
treed1ee90ea21dee502e09a9315284ee0d07bc8dcd7
parent2da185d6fe969ade346ad03461c3da860c602503
media: media/platform/marvell-ccic: fix warnings when CONFIG_PM is not enabled

Fix build warnings when CONFIG_PM is not set/enabled:

../drivers/media/platform/marvell-ccic/mmp-driver.c:324:12: warning: 'mmpcam_runtime_suspend' defined but not used [-Wunused-function]
  324 | static int mmpcam_runtime_suspend(struct device *dev)
../drivers/media/platform/marvell-ccic/mmp-driver.c:310:12: warning: 'mmpcam_runtime_resume' defined but not used [-Wunused-function]
  310 | static int mmpcam_runtime_resume(struct device *dev)

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/marvell-ccic/mmp-driver.c