2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-15 17:14:00 +08:00
linux-next/drivers/media
YueHaibing 336934dbec media: marvell-ccic: Fix -Wunused-function warnings
If CONFIG_PM is n, gcc warns:

drivers/media/platform/marvell-ccic/mmp-driver.c:324:12: warning: ‘mmpcam_runtime_suspend’ defined but not used [-Wunused-function]
 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]
 static int mmpcam_runtime_resume(struct device *dev)
            ^~~~~~~~~~~~~~~~~~~~~

Mark them as __maybe_unused to fix this.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-11-16 10:31:07 +01:00
..
cec Linux 5.9-rc7 2020-10-04 12:19:12 +02:00
common media: v4l2: allocate v4l2_clip objects early 2020-11-16 10:31:06 +01:00
dvb-core media fixes for v5.9-rc7 2020-09-24 09:05:04 -07:00
dvb-frontends media: rtl2832: use semicolons rather than commas to separate statements 2020-11-16 10:31:07 +01:00
firewire media: firewire: fix memory leak 2020-09-27 11:29:45 +02:00
i2c media: msp3400: use semicolons rather than commas to separate statements 2020-11-16 10:31:07 +01:00
mc media: mc-device.c: change media_device_request_alloc to match media_ioctl_info 2020-08-29 08:15:23 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci media: bttv: use semicolons rather than commas to separate statements 2020-11-16 10:31:07 +01:00
platform media: marvell-ccic: Fix -Wunused-function warnings 2020-11-16 10:31:07 +01:00
radio media: radio-sf16fmr2: use semicolons rather than commas to separate statements 2020-11-16 10:31:07 +01:00
rc media: rc: gpio-ir-recv: add QoS support for cpuidle system 2020-09-27 11:27:23 +02:00
spi media: i2c/Kconfig: use sub-menus for I2C support 2020-04-16 10:34:40 +02:00
test-drivers media: v4l2: allocate v4l2_clip objects early 2020-11-16 10:31:06 +01:00
tuners media: mt2060: use semicolons rather than commas to separate statements 2020-11-16 10:31:07 +01:00
usb media: dib0700: use semicolons rather than commas to separate statements 2020-11-16 10:31:07 +01:00
v4l2-core media: v4l2: remove remaining compat_ioctl 2020-11-16 10:31:06 +01:00
Kconfig media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00