linux/drivers/media/common
Arnd Bergmann 733d0def3e [media] b2c2: flexcop: avoid unused function warnings
The flexcop driver has two functions that are normally used, except
when multiple frontend drivers are disabled:

drivers/media/common/b2c2/flexcop-fe-tuner.c:42:12: warning: 'flexcop_set_voltage' defined but not used [-Wunused-function]
drivers/media/common/b2c2/flexcop-fe-tuner.c:71:12: warning: 'flexcop_sleep' defined but not used [-Wunused-function]

This avoids the build warning by updating the #ifdef for flexcop_set_voltage
to the exact condition under which it is used. For flexcop_sleep, the
condition is rather complex, so I resort to marking it as __maybe_unused,
so the compiler can silently drop it.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-02-01 13:15:01 -02:00
..
b2c2 [media] b2c2: flexcop: avoid unused function warnings 2016-02-01 13:15:01 -02:00
saa7146 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2016-01-14 17:04:19 -08:00
siano [media] dvbdev: Add RF connector if needed 2016-01-11 12:19:25 -02:00
Kconfig [media] btcx-risc: move to bt8xx 2014-12-23 10:13:19 -02:00
Makefile [media] btcx-risc: move to bt8xx 2014-12-23 10:13:19 -02:00
btcx-risc.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
cx2341x.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
cypress_firmware.c [media] media: change email address 2016-01-25 12:01:08 -02:00
cypress_firmware.h [media] media: change email address 2016-01-25 12:01:08 -02:00
tveeprom.c