]> git.baikalelectronics.ru Git - kernel.git/commit
[media] adv7604/cobalt: Allow compile test if !GPIOLIB
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 29 Jun 2015 13:45:56 +0000 (10:45 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 17 Jul 2015 12:49:48 +0000 (09:49 -0300)
commita086d9cb661fb595f9642907bd5f12eb72b9ed22
treeafe37b2fdcb48f5538dcc8db2fe01860636edb8e
parentd9ff9fabf3d2db7754318647c02be91f289c89b5
[media] adv7604/cobalt: Allow compile test if !GPIOLIB

The GPIO subsystem provides dummy GPIO consumer functions if GPIOLIB is
not enabled. Hence drivers that depend on GPIOLIB, but use GPIO consumer
functionality only, can still be compiled if GPIOLIB is not enabled.

Relax the dependency of VIDEO_ADV7604 and VIDEO_COBALT (the latter
selects the former) on GPIOLIB if COMPILE_TEST is enabled.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/Kconfig
drivers/media/pci/cobalt/Kconfig