WSL2-Linux-Kernel/drivers/media/common/b2c2
Arnd Bergmann 30f895a9e1 [media] b2c2: use IS_REACHABLE() instead of open-coding it
The FE_SUPPORTED() macro is basically the same as IS_REACHABLE, except
that it causes a warning with gcc-7:

common/b2c2/flexcop-fe-tuner.c:30:1: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
common/b2c2/flexcop-fe-tuner.c:30:1: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
common/b2c2/flexcop-fe-tuner.c:30:1: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]

Using IS_REACHABLE() to define it avoids the warning.

Fixes: 3785bc170f ("[media] b2c2: break it into common/pci/usb directories")

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-02-03 07:12:59 -02: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
flexcop-common.h [media] dvb-core: move dvb_filter out of the DVB core 2016-10-21 08:44:08 -02:00
flexcop-eeprom.c [media] b2c2: don't break long lines 2016-10-21 08:51:32 -02:00
flexcop-fe-tuner.c [media] b2c2: use IS_REACHABLE() instead of open-coding it 2017-02-03 07:12:59 -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 [media] b2c2: don't break long lines 2016-10-21 08:51:32 -02:00
flexcop-misc.c [media] b2c2: don't break long lines 2016-10-21 08:51:32 -02: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: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
flexcop.h [media] drivers: media: b2c2: flexcop.h: Fix typo in include guard 2014-09-21 20:11:54 -03:00
flexcop_ibi_value_be.h [media] b2c2: break it into common/pci/usb directories 2012-08-13 23:38:31 -03:00
flexcop_ibi_value_le.h [media] b2c2: break it into common/pci/usb directories 2012-08-13 23:38:31 -03:00