linux/drivers/media
Arnd Bergmann b7e5063589 [media] atmel-isc: mark PM functions as __maybe_unused
The newly added atmel-isc driver uses SET_RUNTIME_PM_OPS() to
refer to its suspend/resume functions, causing a warning when
CONFIG_PM is not set:

media/platform/atmel/atmel-isc.c:1477:12: error: 'isc_runtime_resume' defined but not used [-Werror=unused-function]
media/platform/atmel/atmel-isc.c:1467:12: error: 'isc_runtime_suspend' defined but not used [-Werror=unused-function]

This adds __maybe_unused annotations to avoid the warning without
adding an error-prone #ifdef around it.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-09-19 16:25:33 -03:00
..
common [media] v4l2-tpg-core: drop SYCC, use higher precision 601 conversion matrix 2016-08-24 08:36:11 -03:00
dvb-core [media] demux.h: fix a documentation warning 2016-09-09 09:23:32 -03:00
dvb-frontends [media] dvb-frontends: constify dvb_tuner_ops structures 2016-09-19 16:22:55 -03:00
firewire [media] dvb: modify core to implement interfaces/entities at MC new gen 2016-01-11 12:18:52 -02:00
i2c [media] ad5820: use __maybe_unused for PM functions 2016-09-19 16:25:13 -03:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci [media] constify local structures 2016-09-19 16:22:18 -03:00
platform [media] atmel-isc: mark PM functions as __maybe_unused 2016-09-19 16:25:33 -03:00
radio [media] radio-si470x-i2c: Delete owner assignment 2016-09-06 16:23:19 -03:00
rc [media] redrat3: fix sparse warning 2016-08-25 09:46:39 -03:00
spi [media] gs1662: make checkpatch happy 2016-09-19 14:39:49 -03:00
tuners [media] tuners: constify dvb_tuner_ops structures 2016-09-19 16:23:21 -03:00
usb [media] usb: constify vb2_ops structures 2016-09-19 16:20:35 -03:00
v4l2-core [media] SDI: add flag for SDI formats and SMPTE 125M definition 2016-09-19 14:34:41 -03:00
Kconfig [media] media Kconfig: improve the spi integration 2016-09-19 14:37:05 -03:00
Makefile [media] Add GS1662 driver, a video serializer 2016-09-19 14:36:24 -03:00
cec-edid.c [media] cec-edid: add module for EDID CEC helper functions 2016-06-28 09:45:51 -03:00
media-device.c [media] media: fix media devnode ioctl/syscall and unregister race 2016-06-15 17:59:28 -03:00
media-devnode.c [media] media: fix media devnode ioctl/syscall and unregister race 2016-06-15 17:59:28 -03:00
media-entity.c [media] media: Move media_device link_notify operation to an ops structure 2016-09-09 11:20:09 -03:00