linux/drivers/media/common/b2c2
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
..
flexcop_ibi_value_be.h
flexcop_ibi_value_le.h
flexcop-common.h [media] b2c2: Add option to skip the first 6 pid filters 2015-06-09 20:57:56 -03:00
flexcop-eeprom.c
flexcop-fe-tuner.c [media] b2c2: flexcop: avoid unused function warnings 2016-02-01 13:15:01 -02:00
flexcop-hw-filter.c [media] b2c2: Add option to skip the first 6 pid filters 2015-06-09 20:57:56 -03:00
flexcop-i2c.c
flexcop-misc.c [media] Add support for TechniSat Skystar S2 2015-05-18 16:31:35 -03:00
flexcop-reg.h [media] Add support for TechniSat Skystar S2 2015-05-18 16:31:35 -03:00
flexcop-sram.c [media] media: Remove unnecessary semicolons 2013-10-17 05:51:57 -03:00
flexcop.c [media] media: change email address 2016-01-25 12:01:08 -02:00
flexcop.h [media] drivers: media: b2c2: flexcop.h: Fix typo in include guard 2014-09-21 20:11:54 -03:00
Kconfig [media] Add support for TechniSat Skystar S2 2015-05-18 16:31:35 -03:00
Makefile [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00