WSL2-Linux-Kernel/drivers/media/common
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
..
b2c2 [media] b2c2: use IS_REACHABLE() instead of open-coding it 2017-02-03 07:12:59 -02:00
saa7146 [media] saa7146: Fix for while releasing video buffers 2016-11-23 19:52:12 -02:00
siano [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
v4l2-tpg [media] v4l2-tpg: Init hv_enc field with a valid value 2016-11-29 12:12:13 -02:00
Kconfig [media] tpg: Export the tpg code from vivid as a module 2016-04-20 16:14:39 -03:00
Makefile [media] tpg: Export the tpg code from vivid as a module 2016-04-20 16:14:39 -03:00
btcx-risc.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
cx2341x.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -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 [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00