linux_dsm_epyc7002/drivers/media
Arnd Bergmann 15ea2df914 media: ov2685: mark PM functions as __maybe_unused
Without CONFIG_PM, we get a harmless build warning:

drivers/media/i2c/ov2685.c:516:12: error: 'ov2685_runtime_suspend' defined but not used [-Werror=unused-function]
 static int ov2685_runtime_suspend(struct device *dev)
            ^~~~~~~~~~~~~~~~~~~~~~
drivers/media/i2c/ov2685.c:507:12: error: 'ov2685_runtime_resume' defined but not used [-Werror=unused-function]
 static int ov2685_runtime_resume(struct device *dev)

This marks the affected functions as __maybe_unused.

Fixes: e3861d9118 ("media: ov2685: add support for OV2685 sensor")

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
[hans.verkuil@cisco.com: fixed typo in Subject: was ov5695]
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-02-26 10:38:56 -05:00
..
cec media: cec: improve debugging 2018-02-26 08:12:49 -05:00
common media: vb2: Fix videobuf2 to map correct area 2018-02-26 08:06:31 -05:00
dvb-core vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
dvb-frontends media: dvb-frontends: ves1820: use 64-bit arithmetic instead of 32-bit 2018-02-26 08:07:38 -05:00
firewire vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
i2c media: ov2685: mark PM functions as __maybe_unused 2018-02-26 10:38:56 -05:00
mmc media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
pci media: ivtv: remove ivtv-alsa-mixer 2018-02-26 08:11:42 -05:00
platform media: stm32-dcmi: add g/s_parm framerate support 2018-02-26 10:30:44 -05:00
radio media: add SPDX license info 2018-02-14 13:17:03 -05:00
rc media: rc: get start time just before calling driver tx 2018-02-14 14:17:21 -05:00
spi [media] gs1662: drop kfree for memory allocated with devm_kzalloc 2016-10-24 17:59:08 -02:00
tuners media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
usb media: gspca: dtcs033: use %*ph to print small buffer 2018-02-26 08:14:47 -05:00
v4l2-core media: v4l2-subdev: implement VIDIOC_DBG_G_CHIP_INFO ioctl 2018-02-26 09:33:39 -05:00
Kconfig media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
media-device.c media: zero reservedX fields in media_v2_topology 2018-02-26 09:47:53 -05:00
media-devnode.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
media-entity.c media: media.h: reorganize header to make it easier to understand 2018-02-26 10:14:46 -05:00